Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 642 Bytes

File metadata and controls

22 lines (14 loc) · 642 Bytes

Pathist v1.3.0


Pathist / PathistInput

Type Alias: PathistInput

PathistInput = string | PathSegment[]

Defined in: pathist.ts:34

Valid input types for constructing a Pathist instance. Can be a path string (e.g., "foo.bar"), an array of segments, or an existing Pathist instance.

Example

const input1: PathistInput = 'foo.bar.baz';
const input2: PathistInput = ['foo', 'bar', 'baz'];
const input3: PathistInput = ['foo', 'bar', 0, 'baz'];