SchemaMap Class

Beta  

Extends

Inherited methods

Name Inherited from Description
Symbol.iterator(): IterableIterator<Schema> Array.Symbol Iterator
Symbol.unscopables(): { copyWithin: boolean, entries: boolean, fill: boolean, find: boolean, findIndex: boolean, keys: boolean, values: boolean } Array.Symbol Returns an object whose properties have the value 'true'
concat(...items: ConcatArray<Schema>[]): Schema[] Array<Schema> Combines two or more arrays.
concat(...items: T | ConcatArray<T>[]): Schema[] Array<Schema> Combines two or more arrays.
copyWithin(target: number, start: number, end?: number): this Array<Schema> Returns the this object after copying a section of the array identified by start and end
entries(): IterableIterator<[]> Array<Schema> Returns an iterable of key, value pairs for every entry in the array
every<S extends Schema>(predicate: (value: Schema, index: number, array: Schema[]) => value, thisArg?: any): this Array<Schema> Determines whether all the members of an array satisfy the specified test.
every(predicate: (value: Schema, index: number, array: Schema[]) => unknown, thisArg?: any): boolean Array<Schema> Determines whether all the members of an array satisfy the specified test.
fill(value: Schema, start?: number, end?: number): this Array<Schema> Returns the this object after filling the section identified by start and end with value
filter<S extends Schema>(predicate: (value: Schema, index: number, array: Schema[]) => value, thisArg?: any): S extends Schema[] Array<Schema> Returns the elements of an array that meet the condition specified in a callback function.
filter(predicate: (value: Schema, index: number, array: Schema[]) => unknown, thisArg?: any): Schema[] Array<Schema> Returns the elements of an array that meet the condition specified in a callback function.
find<S extends Schema>(predicate: (this: void, value: Schema, index: number, obj: Schema[]) => value, thisArg?: any): S extends Schema | undefined Array<Schema> Returns the value of the first element in the array where predicate is true, and undefined
find(predicate: (value: Schema, index: number, obj: Schema[]) => unknown, thisArg?: any): Schema | undefined Array<Schema>  
findIndex(predicate: (value: Schema, index: number, obj: Schema[]) => unknown, thisArg?: any): number Array<Schema> Returns the index of the first element in the array where predicate is true, and -1
forEach(callbackfn: (value: Schema, index: number, array: Schema[]) => void, thisArg?: any): void Array<Schema> Performs the specified action for each element in an array.
includes(searchElement: Schema, fromIndex?: number): boolean Array<Schema> Determines whether an array includes a certain element, returning true or false as appropriate.
indexOf(searchElement: Schema, fromIndex?: number): number Array<Schema> Returns the index of the first occurrence of a value in an array, or -1 if it is not present.
join(separator?: string): string Array<Schema> Adds all the elements of an array into a string, separated by the specified separator string.
keys(): IterableIterator<number> Array<Schema> Returns an iterable of keys in the array
lastIndexOf(searchElement: Schema, fromIndex?: number): number Array<Schema> Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.
map<U>(callbackfn: (value: Schema, index: number, array: Schema[]) => U, thisArg?: any): U[] Array<Schema> Calls a defined callback function on each element of an array, and returns an array that contains the results.
pop(): Schema | undefined Array<Schema> Removes the last element from an array and returns it.
push(...items: Schema[]): number Array<Schema> Appends new elements to the end of an array, and returns the new length of the array.
reduce(callbackfn: (previousValue: Schema, currentValue: Schema, currentIndex: number, array: Schema[]) => Schema): Schema Array<Schema> Calls the specified callback function for all the elements in an array.
reduce(callbackfn: (previousValue: Schema, currentValue: Schema, currentIndex: number, array: Schema[]) => Schema, initialValue: Schema): Schema Array<Schema>  
reduce<U>(callbackfn: (previousValue: U, currentValue: Schema, currentIndex: number, array: Schema[]) => U, initialValue: U): U Array<Schema> Calls the specified callback function for all the elements in an array.
reduceRight(callbackfn: (previousValue: Schema, currentValue: Schema, currentIndex: number, array: Schema[]) => Schema): Schema Array<Schema> Calls the specified callback function for all the elements in an array, in descending order.
reduceRight(callbackfn: (previousValue: Schema, currentValue: Schema, currentIndex: number, array: Schema[]) => Schema, initialValue: Schema): Schema Array<Schema>  
reduceRight<U>(callbackfn: (previousValue: U, currentValue: Schema, currentIndex: number, array: Schema[]) => U, initialValue: U): U Array<Schema> Calls the specified callback function for all the elements in an array, in descending order.
reverse(): Schema[] Array<Schema> Reverses the elements in an array in place.
shift(): Schema | undefined Array<Schema> Removes the first element from an array and returns it.
slice(start?: number, end?: number): Schema[] Array<Schema> Returns a copy of a section of an array.
some(predicate: (value: Schema, index: number, array: Schema[]) => unknown, thisArg?: any): boolean Array<Schema> Determines whether the specified callback function returns true for any element of an array.
sort(compareFn?: (a: Schema, b: Schema) => number): this Array<Schema> Sorts an array in place.
splice(start: number, deleteCount?: number): Schema[] Array<Schema> Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
splice(start: number, deleteCount: number, ...items: Schema[]): Schema[] Array<Schema> Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
toLocaleString(): string Array<Schema> Returns a string representation of an array.
toString(): string Array<Schema> Returns a string representation of an array.
unshift(...items: Schema[]): number Array<Schema> Inserts new elements at the start of an array, and returns the new length of the array.
values(): IterableIterator<Schema> Array<Schema> Returns an iterable of values in the array

Properties

Name Type Description
Array Static ArrayConstructor    

Inherited properties

Name Type Inherited from Description
length number Array<Schema> Gets or sets the length of the array.

Defined in

Last Updated: 01 December, 2021