Back to Pocketbase

Interface fromSlash

static/jsvm/interfaces/filepath.fromSlash.html

latest682 B
Original Source

Interface fromSlash

Hierarchy

  • fromSlash

  • fromSlash(path): string

FromSlash returns the result of replacing each slash ('/') character in path with a separator character. Multiple slashes are replaced by multiple separators.

See also the Localize function, which converts a slash-separated path as used by the io/fs package to an operating system path.

Parameters

path: string

Returns string

Settings

Member Visibility

  • Inherited

Theme

OSLightDark

Generated using TypeDoc