Skip to content

JSONPath Tools / @jsonpath-tools/jsonpath / PushOnlyArray

Interface: PushOnlyArray<T>

Array that can only be read and pushed into.

Type Parameters

T

T

Indexable

ts
[index: number]: T

Properties

length

ts
readonly length: number;

Methods

push()

ts
push(...value): void

Parameters

value

...T[]

Returns

void