Back to Pocketbase

Function base

static/jsvm/functions/_filepath.base.html

latest577 B
Original Source

Function base

  • base(path): string

Base returns the last element of path. Trailing path separators are removed before extracting the last element. If the path is empty, Base returns ".". If the path consists entirely of separators, Base returns a single separator.

Parameters

path: string

Returns string

Settings

Member Visibility

  • Inherited

Theme

OSLightDark

Generated using TypeDoc