Function isAbsolute

  • isAbsolute(p: string): boolean
  • Determines whether {path} is an absolute path. An absolute path will always resolve to the same location, regardless of the working directory.

    Parameters

    • p: string

      path to test.

    Returns boolean

Generated using TypeDoc