Back to Pocketbase

Function fromSlash

static/jsvm/functions/_filepath.fromSlash.html

latest655 B
Original Source

Function 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