Skip to main content
Version: Next 🚧

[F] hasTrailingDirectorySeparator

function hasTrailingDirectorySeparator(path): boolean

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

Parameters

ParameterType
pathstring

Returns

boolean