Back to Pocketbase

Interface split

static/jsvm/interfaces/filepath.split.html

latest656 B
Original Source

Interface split

Hierarchy

  • split

  • split(path): [string, string]

Split splits path immediately following the final [Separator], separating it into a directory and file name component. If there is no Separator in path, Split returns an empty dir and file set to path. The returned values have the property that path = dir+file.

Parameters

path: string

Returns [string, string]

Settings

Member Visibility

  • Inherited

Theme

OSLightDark

Generated using TypeDoc