- Preparing search index...
- The search index is not available
feng3d
Properties
delimiter
delimiter: ";" | ":"
posix
sep
sep: "\\" | "/"
win32
Methods
basename
- basename(p: string, ext?: string): string
-
Parameters
-
p: string
-
Optional
ext: string
Returns string
dirname
- dirname(p: string): string
-
Returns string
extname
- extname(p: string): string
-
Returns string
format
- format(pathObject: FormatInputPathObject): string
-
Returns string
isAbsolute
- isAbsolute(path: string): boolean
-
Returns boolean
join
- join(...paths: string[]): string
-
Returns string
normalize
- normalize(p: string): string
-
Returns string
parse
- parse(pathString: string): ParsedPath
-
relative
- relative(from: string, to: string): string
-
Returns string
resolve
- resolve(...pathSegments: string[]): string
-
Parameters
-
Rest
...pathSegments: string[]
Returns string
路径