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