Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IServerFetchAdResponseInner

Hierarchy

Index

Properties

length: number

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

Methods

  • Iterator of values in the array.

    Returns IterableIterator<IServerFetchAdResponseInnerItem>

  • Returns the item located at the specified index.

    Parameters

    • index: number

      The zero-based index of the desired code unit. A negative index will count back from the last item.

    Returns undefined | IServerFetchAdResponseInnerItem

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

    Returns IterableIterator<[number, IServerFetchAdResponseInnerItem]>

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

    Parameters

    Returns number

  • flat<A, D>(this: A, depth?: D): 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: number = 1

    Parameters

    • this: A
    • Optional depth: D

      The maximum recursion depth

    Returns FlatArray<A, D>[]

  • 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

    Returns U[]

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

    Parameters

    • searchElement: IServerFetchAdResponseInnerItem

      The element to search for.

    • Optional fromIndex: number

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

    Returns boolean

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

    Parameters

    • searchElement: IServerFetchAdResponseInnerItem

      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

  • join(separator?: string): 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

  • keys(): IterableIterator<number>
  • Returns an iterable of keys in the array

    Returns IterableIterator<number>

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

    Parameters

    • searchElement: IServerFetchAdResponseInnerItem

      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

  • 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 IServerFetchAdResponseInnerItem[]

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

    Parameters

    Returns boolean

  • toLocaleString(): string
  • Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.

    Returns string

  • toString(): string
  • Returns a string representation of an array.

    Returns string

  • Returns an iterable of values in the array

    Returns IterableIterator<IServerFetchAdResponseInnerItem>

Generated using TypeDoc