# Interface ReactNodeArray

#### Deprecated

Use either `ReactNode[]` if you need an array or `Iterable<ReactNode>` if its passed to a host component.

interface ReactNodeArray {
[unscopables]: {
[unscopables]?: boolean;
length?: boolean;
[iterator]?: any;
at?: any;
concat?: any;
entries?: any;
every?: any;
filter?: any;
find?: any;
findIndex?: any;
flat?: any;
flatMap?: any;
forEach?: any;
includes?: any;
indexOf?: any;
join?: any;
keys?: any;
lastIndexOf?: any;
map?: any;
reduce?: any;
reduceRight?: any;
slice?: any;
some?: any;
toLocaleString?: any;
toString?: any;
values?: any;
};
length: number;
[iterator](): IterableIterator<ReactNode>;
at(index): ReactNode;
concat(...items): ReactNode[];
concat(...items): ReactNode[];
entries(): IterableIterator<[number, ReactNode]>;
every<S>(predicate, thisArg?): this is readonly S[];
every(predicate, thisArg?): boolean;
filter<S>(predicate, thisArg?): S[];
filter(predicate, thisArg?): ReactNode[];
find<S>(predicate, thisArg?): S;
find(predicate, thisArg?): ReactNode;
findIndex(predicate, thisArg?): number;
flat<A, D>(this, depth?): FlatArray<A, D>[];
flatMap<U, This>(callback, thisArg?): U[];
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[];
reduce(callbackfn): ReactNode;
reduce(callbackfn, initialValue): ReactNode;
reduce<U>(callbackfn, initialValue): U;
reduceRight(callbackfn): ReactNode;
reduceRight(callbackfn, initialValue): ReactNode;
reduceRight<U>(callbackfn, initialValue): U;
slice(start?, end?): ReactNode[];
some(predicate, thisArg?): boolean;
toLocaleString(): string;
toString(): string;
values(): IterableIterator<ReactNode>;
}

#### Hierarchy

- ReadonlyArray<ReactNode>
  - ReactNodeArray

- Defined in common/temp/node_modules/.pnpm/@types+react@18.3.3/node_modules/@types/react/index.d.ts:435

#####
Index

### Properties

[unscopables]
length

### Methods

[iterator]
at
concat
entries
every
filter
find
findIndex
flat
flatMap
forEach
includes
indexOf
join
keys
lastIndexOf
map
reduce
reduceRight
slice
some
toLocaleString
toString
values

## Properties

### `Readonly` [unscopables]

[unscopables]: {
[unscopables]?: boolean;
length?: boolean;
[iterator]?: any;
at?: any;
concat?: any;
entries?: any;
every?: any;
filter?: any;
find?: any;
findIndex?: any;
flat?: any;
flatMap?: any;
forEach?: any;
includes?: any;
indexOf?: any;
join?: any;
keys?: any;
lastIndexOf?: any;
map?: any;
reduce?: any;
reduceRight?: any;
slice?: any;
some?: any;
toLocaleString?: any;
toString?: any;
values?: any;
}

Is an object whose properties have the value 'true' when they will be absent when used in a 'with' statement.

#### Type declaration

- ##### `Optional` `Readonly` [unscopables]?: boolean

  Is an object whose properties have the value 'true' when they will be absent when used in a 'with' statement.

- ##### `Optional` `Readonly` length?: boolean

  Gets the length of the array. This is a number one higher than the highest element defined in an array.

Inherited from ReadonlyArray.[unscopables]

- Defined in common/temp/node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts:107

### `Readonly` length

length: number

Gets the length of the array. This is a number one higher than the highest element defined in an array.

Inherited from ReadonlyArray.length

- Defined in common/temp/node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts:1192

## Methods

### [iterator]

- [iterator](): IterableIterator<ReactNode>

- Iterator of values in the array.

  #### Returns IterableIterator<ReactNode>

  Inherited from ReadonlyArray.[iterator]

  - Defined in common/temp/node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.iterable.d.ts:94

### at

- at(index): ReactNode

- Takes an integer value and returns the item at that index, allowing for positive and negative integers. Negative integers count back from the last item in the array.

  #### Parameters

  - index: number

  #### Returns ReactNode

  Inherited from ReadonlyArray.at

  - Defined in common/temp/node_modules/.pnpm/@types+node@18.19.34/node_modules/@types/node/globals.d.ts:130

### concat

- concat(...items): ReactNode[]

- Combines two or more arrays.

  #### Parameters

  - `Rest` ...items: ConcatArray<ReactNode>[]

    Additional items to add to the end of array1.

  #### Returns ReactNode[]

  Inherited from ReadonlyArray.concat

  - Defined in common/temp/node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts:1205
- concat(...items): ReactNode[]

- Combines two or more arrays.

  #### Parameters

  - `Rest` ...items: (ReactNode | ConcatArray<ReactNode>)[]

    Additional items to add to the end of array1.

  #### Returns ReactNode[]

  Inherited from ReadonlyArray.concat

  - Defined in common/temp/node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts:1210

### entries

- entries(): IterableIterator<[number, ReactNode]>

- Returns an iterable of key, value pairs for every entry in the array

  #### Returns IterableIterator<[number, ReactNode]>

  Inherited from ReadonlyArray.entries

  - Defined in common/temp/node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.iterable.d.ts:99

### every

- every<S>(predicate, thisArg?): this is readonly S[]

- Determines whether all the members of an array satisfy the specified test.

  #### Type Parameters

  - S extends ReactNode

  #### Parameters

  - predicate: ((value, index, array) => value is S)

    A function that accepts up to three arguments. The every method calls the predicate function for each element in the array until the predicate returns a value which is coercible to the Boolean value false, or until the end of the array.

    - - (value, index, array): value is S

      - #### Parameters

        - value: ReactNode
        - index: number
        - array: readonly ReactNode[]

        #### Returns value is S

  - `Optional` thisArg: any

    An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.

  #### Returns this is readonly S[]

  Inherited from ReadonlyArray.every

  - Defined in common/temp/node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts:1242
- every(predicate, thisArg?): boolean

- Determines whether all the members of an array satisfy the specified test.

  #### Parameters

  - predicate: ((value, index, array) => unknown)

    A function that accepts up to three arguments. The every method calls the predicate function for each element in the array until the predicate returns a value which is coercible to the Boolean value false, or until the end of the array.

    - - (value, index, array): unknown

      - #### Parameters

        - value: ReactNode
        - index: number
        - array: readonly ReactNode[]

        #### Returns unknown

  - `Optional` thisArg: any

    An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.

  #### Returns boolean

  Inherited from ReadonlyArray.every

  - Defined in common/temp/node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts:1251

### filter

- filter<S>(predicate, thisArg?): S[]

- Returns the elements of an array that meet the condition specified in a callback function.

  #### Type Parameters

  - S extends ReactNode

  #### Parameters

  - predicate: ((value, index, array) => value is S)

    A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.

    - - (value, index, array): value is S

      - #### Parameters

        - value: ReactNode
        - index: number
        - array: readonly ReactNode[]

        #### Returns value is S

  - `Optional` thisArg: any

    An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.

  #### Returns S[]

  Inherited from ReadonlyArray.filter

  - Defined in common/temp/node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts:1278
- filter(predicate, thisArg?): ReactNode[]

- Returns the elements of an array that meet the condition specified in a callback function.

  #### Parameters

  - predicate: ((value, index, array) => unknown)

    A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.

    - - (value, index, array): unknown

      - #### Parameters

        - value: ReactNode
        - index: number
        - array: readonly ReactNode[]

        #### Returns unknown

  - `Optional` thisArg: any

    An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.

  #### Returns ReactNode[]

  Inherited from ReadonlyArray.filter

  - Defined in common/temp/node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts:1284

### find

- find<S>(predicate, thisArg?): S

- Returns the value of the first element in the array where predicate is true, and undefined otherwise.

  #### Type Parameters

  - S extends ReactNode

  #### Parameters

  - predicate: ((value, index, obj) => value is S)

    find calls predicate once for each element of the array, in ascending order, until it finds one where predicate returns true. If such an element is found, find immediately returns that element value. Otherwise, find returns undefined.

    - - (value, index, obj): value is S

      - #### Parameters

        - value: ReactNode
        - index: number
        - obj: readonly ReactNode[]

        #### Returns value is S

  - `Optional` thisArg: any

    If provided, it will be used as the this value for each invocation of predicate. If it is not provided, undefined is used instead.

  #### Returns S

  Inherited from ReadonlyArray.find

  - Defined in common/temp/node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.core.d.ts:350
- find(predicate, thisArg?): ReactNode

- #### Parameters

  - predicate: ((value, index, obj) => unknown)
    - - (value, index, obj): unknown

      - #### Parameters

        - value: ReactNode
        - index: number
        - obj: readonly ReactNode[]

        #### Returns unknown

  - `Optional` thisArg: any

  #### Returns ReactNode

  Inherited from ReadonlyArray.find

  - Defined in common/temp/node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.core.d.ts:351

### findIndex

- findIndex(predicate, thisArg?): number

- Returns the index of the first element in the array where predicate is true, and -1 otherwise.

  #### Parameters

  - predicate: ((value, index, obj) => unknown)

    find calls predicate once for each element of the array, in ascending order, until it finds one where predicate returns true. If such an element is found, findIndex immediately returns that element index. Otherwise, findIndex returns -1.

    - - (value, index, obj): unknown

      - #### Parameters

        - value: ReactNode
        - index: number
        - obj: readonly ReactNode[]

        #### Returns unknown

  - `Optional` thisArg: any

    If provided, it will be used as the this value for each invocation of predicate. If it is not provided, undefined is used instead.

  #### Returns number

  Inherited from ReadonlyArray.findIndex

  - Defined in common/temp/node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.core.d.ts:362

### flat

- flat<A, D>(this, depth?): FlatArray<A, D>[]

- Returns a new array with all sub-array elements concatenated into it recursively up to the specified depth.

  #### Type Parameters

  - A
  - D extends number = 1

  #### Parameters

  - this: A
  - `Optional` depth: D

    The maximum recursion depth

  #### Returns FlatArray<A, D>[]

  Inherited from ReadonlyArray.flat

  - Defined in common/temp/node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2019.array.d.ts:47

### flatMap

- flatMap<U, This>(callback, thisArg?): U[]

- Calls a defined callback function on each element of an array. Then, flattens the result into a new array. This is identical to a map followed by flat with depth 1.

  #### Type Parameters

  - U
  - This = undefined

  #### Parameters

  - callback: ((this, value, index, array) => U | readonly U[])

    A function that accepts up to three arguments. The flatMap method calls the callback function one time for each element in the array.

    - - (this, value, index, array): U | readonly U[]

      - #### Parameters

        - this: This
        - value: ReactNode
        - index: number
        - array: ReactNode[]

        #### Returns U | readonly U[]

  - `Optional` thisArg: This

    An object to which the this keyword can refer in the callback function. If thisArg is omitted, undefined is used as the this value.

  #### Returns U[]

  Inherited from ReadonlyArray.flatMap

  - Defined in common/temp/node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2019.array.d.ts:36

### forEach

- forEach(callbackfn, thisArg?): void

- Performs the specified action for each element in an array.

  #### Parameters

  - callbackfn: ((value, index, array) => void)

    A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.

    - - (value, index, array): void

      - #### Parameters

        - value: ReactNode
        - index: number
        - array: readonly ReactNode[]

        #### Returns void

  - `Optional` thisArg: any

    An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.

  #### Returns void

  Inherited from ReadonlyArray.forEach

  - Defined in common/temp/node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts:1266

### includes

- includes(searchElement, fromIndex?): boolean

- Determines whether an array includes a certain element, returning true or false as appropriate.

  #### Parameters

  - searchElement: ReactNode

    The element to search for.

  - `Optional` fromIndex: number

    The position in this array at which to begin searching for searchElement.

  #### Returns boolean

  Inherited from ReadonlyArray.includes

  - Defined in common/temp/node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2016.array.include.d.ts:34

### indexOf

- indexOf(searchElement, fromIndex?): number

- Returns the index of the first occurrence of a value in an array.

  #### Parameters

  - searchElement: ReactNode

    The value to locate in the array.

  - `Optional` fromIndex: number

    The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.

  #### Returns number

  Inherited from ReadonlyArray.indexOf

  - Defined in common/temp/node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts:1227

### join

- join(separator?): string

- Adds all the elements of an array separated by the specified separator string.

  #### Parameters

  - `Optional` separator: string

    A string used to separate one element of an array from the next in the resulting String. If omitted, the array elements are separated with a comma.

  #### Returns string

  Inherited from ReadonlyArray.join

  - Defined in common/temp/node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts:1215

### keys

- keys(): IterableIterator<number>

- Returns an iterable of keys in the array

  #### Returns IterableIterator<number>

  Inherited from ReadonlyArray.keys

  - Defined in common/temp/node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.iterable.d.ts:104

### lastIndexOf

- lastIndexOf(searchElement, fromIndex?): number

- Returns the index of the last occurrence of a specified value in an array.

  #### Parameters

  - searchElement: ReactNode

    The value to locate in the array.

  - `Optional` fromIndex: number

    The array index at which to begin the search. If fromIndex is omitted, the search starts at the last index in the array.

  #### Returns number

  Inherited from ReadonlyArray.lastIndexOf

  - Defined in common/temp/node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts:1233

### map

- map<U>(callbackfn, thisArg?): U[]

- Calls a defined callback function on each element of an array, and returns an array that contains the results.

  #### Type Parameters

  - U

  #### Parameters

  - callbackfn: ((value, index, array) => U)

    A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.

    - - (value, index, array): U

      - #### Parameters

        - value: ReactNode
        - index: number
        - array: readonly ReactNode[]

        #### Returns U

  - `Optional` thisArg: any

    An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.

  #### Returns U[]

  Inherited from ReadonlyArray.map

  - Defined in common/temp/node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts:1272

### reduce

- reduce(callbackfn): ReactNode

- Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.

  #### Parameters

  - callbackfn: ((previousValue, currentValue, currentIndex, array) => ReactNode)

    A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.

    - - (previousValue, currentValue, currentIndex, array): ReactNode

      - #### Parameters

        - previousValue: ReactNode
        - currentValue: ReactNode
        - currentIndex: number
        - array: readonly ReactNode[]

        #### Returns ReactNode

  Inherited from ReadonlyArray.reduce

  - Defined in common/temp/node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts:1290
- reduce(callbackfn, initialValue): ReactNode

- #### Parameters

  - callbackfn: ((previousValue, currentValue, currentIndex, array) => ReactNode)
    - - (previousValue, currentValue, currentIndex, array): ReactNode

      - #### Parameters

        - previousValue: ReactNode
        - currentValue: ReactNode
        - currentIndex: number
        - array: readonly ReactNode[]

        #### Returns ReactNode

  - initialValue: ReactNode

  #### Returns ReactNode

  Inherited from ReadonlyArray.reduce

  - Defined in common/temp/node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts:1291
- reduce<U>(callbackfn, initialValue): U

- Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.

  #### Type Parameters

  - U

  #### Parameters

  - callbackfn: ((previousValue, currentValue, currentIndex, array) => U)

    A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.

    - - (previousValue, currentValue, currentIndex, array): U

      - #### Parameters

        - previousValue: U
        - currentValue: ReactNode
        - currentIndex: number
        - array: readonly ReactNode[]

        #### Returns U

  - initialValue: U

    If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.

  #### Returns U

  Inherited from ReadonlyArray.reduce

  - Defined in common/temp/node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts:1297

### reduceRight

- reduceRight(callbackfn): ReactNode

- Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.

  #### Parameters

  - callbackfn: ((previousValue, currentValue, currentIndex, array) => ReactNode)

    A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.

    - - (previousValue, currentValue, currentIndex, array): ReactNode

      - #### Parameters

        - previousValue: ReactNode
        - currentValue: ReactNode
        - currentIndex: number
        - array: readonly ReactNode[]

        #### Returns ReactNode

  Inherited from ReadonlyArray.reduceRight

  - Defined in common/temp/node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts:1303
- reduceRight(callbackfn, initialValue): ReactNode

- #### Parameters

  - callbackfn: ((previousValue, currentValue, currentIndex, array) => ReactNode)
    - - (previousValue, currentValue, currentIndex, array): ReactNode

      - #### Parameters

        - previousValue: ReactNode
        - currentValue: ReactNode
        - currentIndex: number
        - array: readonly ReactNode[]

        #### Returns ReactNode

  - initialValue: ReactNode

  #### Returns ReactNode

  Inherited from ReadonlyArray.reduceRight

  - Defined in common/temp/node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts:1304
- reduceRight<U>(callbackfn, initialValue): U

- Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.

  #### Type Parameters

  - U

  #### Parameters

  - callbackfn: ((previousValue, currentValue, currentIndex, array) => U)

    A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.

    - - (previousValue, currentValue, currentIndex, array): U

      - #### Parameters

        - previousValue: U
        - currentValue: ReactNode
        - currentIndex: number
        - array: readonly ReactNode[]

        #### Returns U

  - initialValue: U

    If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.

  #### Returns U

  Inherited from ReadonlyArray.reduceRight

  - Defined in common/temp/node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts:1310

### slice

- slice(start?, end?): ReactNode[]

- Returns a section of an array.

  #### Parameters

  - `Optional` start: number

    The beginning of the specified portion of the array.

  - `Optional` end: number

    The end of the specified portion of the array. This is exclusive of the element at the index 'end'.

  #### Returns ReactNode[]

  Inherited from ReadonlyArray.slice

  - Defined in common/temp/node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts:1221

### some

- some(predicate, thisArg?): boolean

- Determines whether the specified callback function returns true for any element of an array.

  #### Parameters

  - predicate: ((value, index, array) => unknown)

    A function that accepts up to three arguments. The some method calls the predicate function for each element in the array until the predicate returns a value which is coercible to the Boolean value true, or until the end of the array.

    - - (value, index, array): unknown

      - #### Parameters

        - value: ReactNode
        - index: number
        - array: readonly ReactNode[]

        #### Returns unknown

  - `Optional` thisArg: any

    An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.

  #### Returns boolean

  Inherited from ReadonlyArray.some

  - Defined in common/temp/node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts:1260

### toLocaleString

- toLocaleString(): string

- Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.

  #### Returns string

  Inherited from ReadonlyArray.toLocaleString

  - Defined in common/temp/node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts:1200

### toString

- toString(): string

- Returns a string representation of an array.

  #### Returns string

  Inherited from ReadonlyArray.toString

  - Defined in common/temp/node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts:1196

### values

- values(): IterableIterator<ReactNode>

- Returns an iterable of values in the array

  #### Returns IterableIterator<ReactNode>

  Inherited from ReadonlyArray.values

  - Defined in common/temp/node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.iterable.d.ts:109