Skip to content

format

typescript
Path.IsPathRooted(path)

class: Path

description

Determine whether the specified path is an absolute path.

parameter

param_nametypedescription
pathstringThe specified path.

return

typedescription
booleanWhether it is an absolute path.

code example