[F] hasTrailingDirectorySeparator
function hasTrailingDirectorySeparator(path): boolean
Determines whether a path has a trailing separator (/
or \\
).
Parameters
Parameter | Type |
---|---|
path | string |
Returns
boolean
function hasTrailingDirectorySeparator(path): boolean
Determines whether a path has a trailing separator (/
or \\
).
Parameter | Type |
---|---|
path | string |
boolean