📘 Standard LibraryJS APIfunctions[F] hasTrailingDirectorySeparatorVersion: Next 🚧On this page[F] hasTrailingDirectorySeparatorfunction hasTrailingDirectorySeparator(path): boolean Determines whether a path has a trailing separator (/ or \\). Parameters ParameterTypepathstring Returns boolean