Options
All
  • Public
  • Public/Protected
  • All
Menu

Module util/path

Index

Functions

Functions

cleanPath

  • cleanPath(path: string): string
  • Removes preceding and trailing forward slashes from a path

    Parameters

    • path: string

      Firestore path

    Returns string

pathJoin

  • pathJoin(path1: string, path2: string): string
  • Safely combines two arbitrary paths

    Parameters

    • path1: string

      Starting path

    • path2: string

      Ending path

    Returns string

Generated using TypeDoc