Back to Pocketbase

Interface expand

static/jsvm/interfaces/os.expand.html

latest672 B
Original Source

Interface expand

Hierarchy

  • expand

  • expand(s, mapping): string

Expand replaces ${var} or $var in the string based on the mapping function. For example, os.ExpandEnv is equivalent to [os.Expand](s, [os.Getenv]).

Parameters

s: string
mapping: ((_arg0) => string)
- 
  - (\_arg0): string
  - 

Parameters

    - 
_arg0: string

Returns string

Returns string

Settings

Member Visibility

  • Inherited

Theme

OSLightDark

Generated using TypeDoc