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