Back to Pocketbase

Function split

static/jsvm/functions/_filepath.split.html

latest633 B
Original Source

Function 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