Skip to content

[F] hasTrailingDirectorySeparator

function hasTrailingDirectorySeparator(path): boolean

Determines whether a path has a trailing separator (/ or \\).

Parameters

ParameterType
pathstring

Returns

boolean