PartialJSONArray | @lumino (original) (raw)
interface PartialJSONArray {
[unscopables]: {
[unscopables]?: boolean;
length?: boolean;
[iterator]?: any;
concat?: any;
copyWithin?: any;
entries?: any;
every?: any;
fill?: any;
filter?: any;
find?: any;
findIndex?: any;
forEach?: any;
includes?: any;
indexOf?: any;
join?: any;
keys?: any;
lastIndexOf?: any;
map?: any;
pop?: any;
push?: any;
reduce?: any;
reduceRight?: any;
reverse?: any;
shift?: any;
slice?: any;
some?: any;
sort?: any;
splice?: any;
toLocaleString?: any;
toString?: any;
unshift?: any;
values?: any;
};
length: number;
[iterator](): IterableIterator<PartialJSONValue>;
concat(...items): PartialJSONValue[];
concat(...items): PartialJSONValue[];
copyWithin(target, start?, end?): this;
entries(): IterableIterator<[number, PartialJSONValue]>;
every<S>(predicate, thisArg?): this is S[];
every(predicate, thisArg?): boolean;
fill(value, start?, end?): this;
filter<S>(predicate, thisArg?): S[];
filter(predicate, thisArg?): PartialJSONValue[];
find<S>(predicate, thisArg?): undefined | S;
find(predicate, thisArg?): undefined | PartialJSONValue;
findIndex(predicate, thisArg?): number;
forEach(callbackfn, thisArg?): void;
includes(searchElement, fromIndex?): boolean;
indexOf(searchElement, fromIndex?): number;
join(separator?): string;
keys(): IterableIterator<number>;
lastIndexOf(searchElement, fromIndex?): number;
map<U>(callbackfn, thisArg?): U[];
pop(): undefined | PartialJSONValue;
push(...items): number;
reduce(callbackfn): PartialJSONValue;
reduce(callbackfn, initialValue): PartialJSONValue;
reduce<U>(callbackfn, initialValue): U;
reduceRight(callbackfn): PartialJSONValue;
reduceRight(callbackfn, initialValue): PartialJSONValue;
reduceRight<U>(callbackfn, initialValue): U;
reverse(): PartialJSONValue[];
shift(): undefined | PartialJSONValue;
slice(start?, end?): PartialJSONValue[];
some(predicate, thisArg?): boolean;
sort(compareFn?): this;
splice(start, deleteCount?): PartialJSONValue[];
splice(start, deleteCount, ...items): PartialJSONValue[];
toLocaleString(): string;
toString(): string;
unshift(...items): number;
values(): IterableIterator<PartialJSONValue>;
}
Hierarchy
- Array<PartialJSONValue>
- PartialJSONArray
Index
Properties
Readonly
[unscopables]
[unscopables]: {
[unscopables]?: boolean;
length?: boolean;
[iterator]?: any;
concat?: any;
copyWithin?: any;
entries?: any;
every?: any;
fill?: any;
filter?: any;
find?: any;
findIndex?: any;
forEach?: any;
includes?: any;
indexOf?: any;
join?: any;
keys?: any;
lastIndexOf?: any;
map?: any;
pop?: any;
push?: any;
reduce?: any;
reduceRight?: any;
reverse?: any;
shift?: any;
slice?: any;
some?: any;
sort?: any;
splice?: any;
toLocaleString?: any;
toString?: any;
unshift?: any;
values?: any;
}
Type declaration
Optional
Readonly
[unscopables]?: booleanOptional
length?: boolean
length
length: number
Methods
[iterator]
- [iterator](): IterableIterator<PartialJSONValue>
PartialJSONValue>
Returns IterableIterator<
concat
- concat(...items): PartialJSONValue[]
PartialJSONValue[]
Returns- concat(...items): PartialJSONValue[]
PartialJSONValue[]
Returns
copyWithin
- copyWithin(target, start?, end?): this
Parameters
- target: number
Optional
start: numberOptional
end: number
Returns this
entries
- entries(): IterableIterator<[number, PartialJSONValue]>
PartialJSONValue]>
Returns IterableIterator<[number,
every
- every<S>(predicate, thisArg?): this is S[]
Type Parameters
- S extends PartialJSONValue
Parameters
- predicate: ((value, index, array) => value is S)
* * (value, index, array): value is S
* #### Returns value is S Optional
thisArg: any
Returns this is S[]
- every(predicate, thisArg?): boolean
Parameters
- predicate: ((value, index, array) => unknown)
* * (value, index, array): unknown
* #### Returns unknown Optional
thisArg: any
- predicate: ((value, index, array) => unknown)
Returns boolean
fill
- fill(value, start?, end?): this
Returns this
filter
- filter<S>(predicate, thisArg?): S[]
Type Parameters
- S extends PartialJSONValue
Parameters
- predicate: ((value, index, array) => value is S)
* * (value, index, array): value is S
* #### Returns value is S Optional
thisArg: any
Returns S[]
- filter(predicate, thisArg?): PartialJSONValue[]
Parameters
- predicate: ((value, index, array) => unknown)
* * (value, index, array): unknown
* #### Returns unknown Optional
thisArg: any
- predicate: ((value, index, array) => unknown)
Returns PartialJSONValue[]
find
- find<S>(predicate, thisArg?): undefined | S
Type Parameters
- S extends PartialJSONValue
Parameters
- predicate: ((value, index, obj) => value is S)
* * (value, index, obj): value is S
* #### Returns value is S Optional
thisArg: any
Returns undefined | S
- find(predicate, thisArg?): undefined | PartialJSONValue
Parameters
- predicate: ((value, index, obj) => unknown)
* * (value, index, obj): unknown
* #### Returns unknown Optional
thisArg: any
- predicate: ((value, index, obj) => unknown)
Returns undefined | PartialJSONValue
findIndex
- findIndex(predicate, thisArg?): number
Parameters
- predicate: ((value, index, obj) => unknown)
* * (value, index, obj): unknown
* #### Returns unknown Optional
thisArg: any
- predicate: ((value, index, obj) => unknown)
Returns number
forEach
- forEach(callbackfn, thisArg?): void
Parameters
- callbackfn: ((value, index, array) => void)
* * (value, index, array): void
* #### Returns void Optional
thisArg: any
- callbackfn: ((value, index, array) => void)
Returns void
includes
- includes(searchElement, fromIndex?): boolean
Returns boolean
indexOf
- indexOf(searchElement, fromIndex?): number
Returns number
join
- join(separator?): string
Parameters
Optional
separator: string
Returns string
keys
- keys(): IterableIterator<number>
Returns IterableIterator<number>
lastIndexOf
- lastIndexOf(searchElement, fromIndex?): number
Returns number
map
Parameters
- callbackfn: ((value, index, array) => U)
* * (value, index, array): U
* #### Returns U Optional
thisArg: any
Returns U[]
pop
- pop(): undefined | PartialJSONValue
PartialJSONValue
Returns undefined |
push
- push(...items): number
Returns number
reduce
- reduce(callbackfn): PartialJSONValue
Parameters
- callbackfn: ((previousValue, currentValue, currentIndex, array) => PartialJSONValue)
* * (previousValue, currentValue, currentIndex, array): PartialJSONValue
* #### Parameters
* previousValue: PartialJSONValue
* currentValue: PartialJSONValue
* currentIndex: number
* array: PartialJSONValue[]
#### Returns PartialJSONValue
- callbackfn: ((previousValue, currentValue, currentIndex, array) => PartialJSONValue)
Returns PartialJSONValue
- reduce(callbackfn, initialValue): PartialJSONValue
Parameters
- callbackfn: ((previousValue, currentValue, currentIndex, array) => PartialJSONValue)
* * (previousValue, currentValue, currentIndex, array): PartialJSONValue
* #### Parameters
* previousValue: PartialJSONValue
* currentValue: PartialJSONValue
* currentIndex: number
* array: PartialJSONValue[]
#### Returns PartialJSONValue - initialValue: PartialJSONValue
- callbackfn: ((previousValue, currentValue, currentIndex, array) => PartialJSONValue)
Returns PartialJSONValue
Parameters
- callbackfn: ((previousValue, currentValue, currentIndex, array) => U)
* * (previousValue, currentValue, currentIndex, array): U
* #### Parameters
* previousValue: U
* currentValue: PartialJSONValue
* currentIndex: number
* array: PartialJSONValue[]
#### Returns U - initialValue: U
Returns U
reduceRight
- reduceRight(callbackfn): PartialJSONValue
Parameters
- callbackfn: ((previousValue, currentValue, currentIndex, array) => PartialJSONValue)
* * (previousValue, currentValue, currentIndex, array): PartialJSONValue
* #### Parameters
* previousValue: PartialJSONValue
* currentValue: PartialJSONValue
* currentIndex: number
* array: PartialJSONValue[]
#### Returns PartialJSONValue
- callbackfn: ((previousValue, currentValue, currentIndex, array) => PartialJSONValue)
Returns PartialJSONValue
- reduceRight(callbackfn, initialValue): PartialJSONValue
Parameters
- callbackfn: ((previousValue, currentValue, currentIndex, array) => PartialJSONValue)
* * (previousValue, currentValue, currentIndex, array): PartialJSONValue
* #### Parameters
* previousValue: PartialJSONValue
* currentValue: PartialJSONValue
* currentIndex: number
* array: PartialJSONValue[]
#### Returns PartialJSONValue - initialValue: PartialJSONValue
- callbackfn: ((previousValue, currentValue, currentIndex, array) => PartialJSONValue)
Returns PartialJSONValue
Parameters
- callbackfn: ((previousValue, currentValue, currentIndex, array) => U)
* * (previousValue, currentValue, currentIndex, array): U
* #### Parameters
* previousValue: U
* currentValue: PartialJSONValue
* currentIndex: number
* array: PartialJSONValue[]
#### Returns U - initialValue: U
Returns U
reverse
- reverse(): PartialJSONValue[]
PartialJSONValue[]
Returns
shift
- shift(): undefined | PartialJSONValue
PartialJSONValue
Returns undefined |
slice
- slice(start?, end?): PartialJSONValue[]
Parameters
Optional
start: numberOptional
end: number
Returns PartialJSONValue[]
some
- some(predicate, thisArg?): boolean
Parameters
- predicate: ((value, index, array) => unknown)
* * (value, index, array): unknown
* #### Returns unknown Optional
thisArg: any
- predicate: ((value, index, array) => unknown)
Returns boolean
sort
- sort(compareFn?): this
Parameters
Optional
compareFn: ((a, b) => number)
* * (a, b): number
* #### Returns number
Returns this
splice
- splice(start, deleteCount?): PartialJSONValue[]
Parameters
- start: number
Optional
deleteCount: number
Returns PartialJSONValue[]
An array containing the elements that were deleted.
- splice(start, deleteCount, ...items): PartialJSONValue[]
PartialJSONValue[]
Returns
An array containing the elements that were deleted.
toLocaleString
- toLocaleString(): string
Returns string
toString
- toString(): string
Returns string
unshift
- unshift(...items): number
Returns number
values
- values(): IterableIterator<PartialJSONValue>
PartialJSONValue>
Returns IterableIterator<