Коллекция только для чтения, содержащая объекты ICardMetadataSection.

interface ReadonlyCardMetadataSectionArray {
    "[unscopables]": {
        "[iterator]"?: boolean;
        "[unscopables]"?: boolean;
        at?: boolean;
        concat?: boolean;
        entries?: boolean;
        every?: boolean;
        filter?: boolean;
        find?: boolean;
        findIndex?: boolean;
        findLast?: boolean;
        findLastIndex?: boolean;
        flat?: boolean;
        flatMap?: boolean;
        forEach?: boolean;
        includes?: boolean;
        indexOf?: boolean;
        join?: boolean;
        keys?: boolean;
        lastIndexOf?: boolean;
        length?: boolean;
        map?: boolean;
        reduce?: boolean;
        reduceRight?: boolean;
        slice?: boolean;
        some?: boolean;
        toLocaleString?: boolean;
        toReversed?: boolean;
        toSorted?: boolean;
        toSpliced?: boolean;
        toString?: boolean;
        values?: boolean;
        with?: boolean;
        readonly [key: number]: undefined | boolean;
    };
    collectionChanged: EventHandler<
        ListChangedEventArgs<ICardMetadataSection>,
        ReadonlyCardMetadataSectionArray,
    >;
    length: number;
    observable: boolean;
    storageEnhancer: null | IListEnhancer<ICardMetadataSection, unknown>;
    "[iterator]"(): ArrayIterator<ICardMetadataSection>;
    at(index: number): undefined | ICardMetadataSection;
    clone(): this;
    concat(
        ...items: ConcatArray<ICardMetadataSection>[],
    ): ICardMetadataSection[];
    concat(
        ...items: (ICardMetadataSection | ConcatArray<ICardMetadataSection>)[],
    ): ICardMetadataSection[];
    dispose(): void;
    entries(): ArrayIterator<[number, ICardMetadataSection]>;
    every<S extends ICardMetadataSection>(
        predicate: (
            value: ICardMetadataSection,
            index: number,
            array: readonly ICardMetadataSection[],
        ) => value is S,
        thisArg?: any,
    ): this is readonly S[];
    every(
        predicate: (
            value: ICardMetadataSection,
            index: number,
            array: readonly ICardMetadataSection[],
        ) => unknown,
        thisArg?: any,
    ): boolean;
    filter<S extends ICardMetadataSection>(
        predicate: (
            value: ICardMetadataSection,
            index: number,
            array: readonly ICardMetadataSection[],
        ) => value is S,
        thisArg?: any,
    ): S[];
    filter(
        predicate: (
            value: ICardMetadataSection,
            index: number,
            array: readonly ICardMetadataSection[],
        ) => unknown,
        thisArg?: any,
    ): ICardMetadataSection[];
    find<S extends ICardMetadataSection>(
        predicate: (
            value: ICardMetadataSection,
            index: number,
            obj: readonly ICardMetadataSection[],
        ) => value is S,
        thisArg?: any,
    ): undefined | S;
    find(
        predicate: (
            value: ICardMetadataSection,
            index: number,
            obj: readonly ICardMetadataSection[],
        ) => unknown,
        thisArg?: any,
    ): undefined | ICardMetadataSection;
    findIndex(
        predicate: (
            value: ICardMetadataSection,
            index: number,
            obj: readonly ICardMetadataSection[],
        ) => unknown,
        thisArg?: any,
    ): number;
    findLast<S extends ICardMetadataSection>(
        predicate: (
            value: ICardMetadataSection,
            index: number,
            array: readonly ICardMetadataSection[],
        ) => value is S,
        thisArg?: any,
    ): undefined | S;
    findLast(
        predicate: (
            value: ICardMetadataSection,
            index: number,
            array: readonly ICardMetadataSection[],
        ) => unknown,
        thisArg?: any,
    ): undefined | ICardMetadataSection;
    findLastIndex(
        predicate: (
            value: ICardMetadataSection,
            index: number,
            array: readonly ICardMetadataSection[],
        ) => unknown,
        thisArg?: any,
    ): number;
    flat<A, D extends number = 1>(this: A, depth?: D): FlatArray<A, D>[];
    flatMap<U, This = undefined>(
        callback: (
            this: This,
            value: ICardMetadataSection,
            index: number,
            array: ICardMetadataSection[],
        ) => U | readonly U[],
        thisArg?: This,
    ): U[];
    forEach(
        callbackfn: (
            value: ICardMetadataSection,
            index: number,
            array: readonly ICardMetadataSection[],
        ) => void,
        thisArg?: any,
    ): void;
    get(index: number): undefined | ICardMetadataSection;
    getChildRowSectionsById(sectionId: string): ICardMetadataSection[];
    getChildRowSectionsByName(sectionName: string): ICardMetadataSection[];
    getSectionById(sectionId: string): null | ICardMetadataSection;
    getSectionByName(sectionName: string): null | ICardMetadataSection;
    getVersionRef(): unknown;
    includes(searchElement: ICardMetadataSection, fromIndex?: number): boolean;
    indexOf(searchElement: ICardMetadataSection, fromIndex?: number): number;
    join(separator?: string): string;
    keys(): ArrayIterator<number>;
    lastIndexOf(
        searchElement: ICardMetadataSection,
        fromIndex?: number,
    ): number;
    map<U>(
        callbackfn: (
            value: ICardMetadataSection,
            index: number,
            array: readonly ICardMetadataSection[],
        ) => U,
        thisArg?: any,
    ): U[];
    reduce(
        callbackfn: (
            previousValue: ICardMetadataSection,
            currentValue: ICardMetadataSection,
            currentIndex: number,
            array: readonly ICardMetadataSection[],
        ) => ICardMetadataSection,
    ): ICardMetadataSection;
    reduce(
        callbackfn: (
            previousValue: ICardMetadataSection,
            currentValue: ICardMetadataSection,
            currentIndex: number,
            array: readonly ICardMetadataSection[],
        ) => ICardMetadataSection,
        initialValue: ICardMetadataSection,
    ): ICardMetadataSection;
    reduce<U>(
        callbackfn: (
            previousValue: U,
            currentValue: ICardMetadataSection,
            currentIndex: number,
            array: readonly ICardMetadataSection[],
        ) => U,
        initialValue: U,
    ): U;
    reduceRight(
        callbackfn: (
            previousValue: ICardMetadataSection,
            currentValue: ICardMetadataSection,
            currentIndex: number,
            array: readonly ICardMetadataSection[],
        ) => ICardMetadataSection,
    ): ICardMetadataSection;
    reduceRight(
        callbackfn: (
            previousValue: ICardMetadataSection,
            currentValue: ICardMetadataSection,
            currentIndex: number,
            array: readonly ICardMetadataSection[],
        ) => ICardMetadataSection,
        initialValue: ICardMetadataSection,
    ): ICardMetadataSection;
    reduceRight<U>(
        callbackfn: (
            previousValue: U,
            currentValue: ICardMetadataSection,
            currentIndex: number,
            array: readonly ICardMetadataSection[],
        ) => U,
        initialValue: U,
    ): U;
    slice(start?: number, end?: number): ICardMetadataSection[];
    some(
        predicate: (
            value: ICardMetadataSection,
            index: number,
            array: readonly ICardMetadataSection[],
        ) => unknown,
        thisArg?: any,
    ): boolean;
    toLocaleString(): string;
    toLocaleString(
        locales: string | string[],
        options?: NumberFormatOptions & DateTimeFormatOptions,
    ): string;
    toReversed(): ICardMetadataSection[];
    toSorted(
        compareFn?: (
            a: ICardMetadataSection,
            b: ICardMetadataSection,
        ) => number,
    ): ICardMetadataSection[];
    toSpliced(
        start: number,
        deleteCount: number,
        ...items: ICardMetadataSection[],
    ): ICardMetadataSection[];
    toSpliced(start: number, deleteCount?: number): ICardMetadataSection[];
    toString(): string;
    values(): ArrayIterator<ICardMetadataSection>;
    with(index: number, value: ICardMetadataSection): ICardMetadataSection[];
    readonly [n: number]: ICardMetadataSection;
}

Hierarchy (View Summary, Expand)

Indexable

Properties

"[unscopables]": {
    "[iterator]"?: boolean;
    "[unscopables]"?: boolean;
    at?: boolean;
    concat?: boolean;
    entries?: boolean;
    every?: boolean;
    filter?: boolean;
    find?: boolean;
    findIndex?: boolean;
    findLast?: boolean;
    findLastIndex?: boolean;
    flat?: boolean;
    flatMap?: boolean;
    forEach?: boolean;
    includes?: boolean;
    indexOf?: boolean;
    join?: boolean;
    keys?: boolean;
    lastIndexOf?: boolean;
    length?: boolean;
    map?: boolean;
    reduce?: boolean;
    reduceRight?: boolean;
    slice?: boolean;
    some?: boolean;
    toLocaleString?: boolean;
    toReversed?: boolean;
    toSorted?: boolean;
    toSpliced?: boolean;
    toString?: boolean;
    values?: boolean;
    with?: boolean;
    readonly [key: number]: undefined | boolean;
}

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

Type declaration

  • readonly [key: number]: undefined | boolean
  • Optional[iterator]?: boolean
  • Optional Readonly[unscopables]?: boolean

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

  • Optionalat?: boolean
  • Optionalconcat?: boolean
  • Optionalentries?: boolean
  • Optionalevery?: boolean
  • Optionalfilter?: boolean
  • Optionalfind?: boolean
  • OptionalfindIndex?: boolean
  • OptionalfindLast?: boolean
  • OptionalfindLastIndex?: boolean
  • Optionalflat?: boolean
  • OptionalflatMap?: boolean
  • OptionalforEach?: boolean
  • Optionalincludes?: boolean
  • OptionalindexOf?: boolean
  • Optionaljoin?: boolean
  • Optionalkeys?: boolean
  • OptionallastIndexOf?: boolean
  • Optional Readonlylength?: boolean

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

  • Optionalmap?: boolean
  • Optionalreduce?: boolean
  • OptionalreduceRight?: boolean
  • Optionalslice?: boolean
  • Optionalsome?: boolean
  • OptionaltoLocaleString?: boolean
  • OptionaltoReversed?: boolean
  • OptionaltoSorted?: boolean
  • OptionaltoSpliced?: boolean
  • OptionaltoString?: boolean
  • Optionalvalues?: boolean
  • Optionalwith?: boolean
length: number

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

observable: boolean
storageEnhancer: null | IListEnhancer<ICardMetadataSection, unknown>

Methods - Extensions

  • Возвращает дочерние коллекционные или древовидные секции для секции с заданным идентификатором.

    Parameters

    • sectionId: string

      Идентификатор секции, для которой требуется вернуть дочерние секции.

    Returns ICardMetadataSection[]

    Список коллекционных или древовидных секций, которые являются дочерними для заданной секции.

  • Возвращает дочерние коллекционные или древовидные секции для секции с заданным именем.

    Parameters

    • sectionName: string

      Имя секции, для которой требуется вернуть дочерние секции. Секция должна присутствовать в метаинформации для получения результата.

    Returns ICardMetadataSection[]

    Список коллекционных или древовидных секций, которые являются дочерними для заданной секции.

  • Возвращает секцию с заданным идентификатором или null, если найти секцию не удалось.

    Parameters

    • sectionId: string

      Идентификатор секции.

    Returns null | ICardMetadataSection

Methods - Other

  • 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 | ICardMetadataSection

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

    Type Parameters

    Parameters

    • predicate: (
          value: ICardMetadataSection,
          index: number,
          array: readonly ICardMetadataSection[],
      ) => 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.

    • OptionalthisArg: 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[]

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

    Parameters

    • predicate: (
          value: ICardMetadataSection,
          index: number,
          array: readonly ICardMetadataSection[],
      ) => 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.

    • OptionalthisArg: 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

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

    Type Parameters

    Parameters

    • predicate: (
          value: ICardMetadataSection,
          index: number,
          array: readonly ICardMetadataSection[],
      ) => 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.

    • OptionalthisArg: 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[]

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

    Parameters

    • predicate: (
          value: ICardMetadataSection,
          index: number,
          array: readonly ICardMetadataSection[],
      ) => unknown

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

    • OptionalthisArg: 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 ICardMetadataSection[]

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

    Type Parameters

    Parameters

    • predicate: (
          value: ICardMetadataSection,
          index: number,
          obj: readonly ICardMetadataSection[],
      ) => 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.

    • OptionalthisArg: 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 undefined | S

  • Parameters

    Returns undefined | ICardMetadataSection

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

    Parameters

    • predicate: (
          value: ICardMetadataSection,
          index: number,
          obj: readonly ICardMetadataSection[],
      ) => 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.

    • OptionalthisArg: 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

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

    Type Parameters

    Parameters

    • predicate: (
          value: ICardMetadataSection,
          index: number,
          array: readonly ICardMetadataSection[],
      ) => value is S

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

    • OptionalthisArg: 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 undefined | S

  • Parameters

    Returns undefined | ICardMetadataSection

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

    Parameters

    • predicate: (
          value: ICardMetadataSection,
          index: number,
          array: readonly ICardMetadataSection[],
      ) => unknown

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

    • OptionalthisArg: 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

  • 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
    • Optionaldepth: 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

    • callback: (
          this: This,
          value: ICardMetadataSection,
          index: number,
          array: ICardMetadataSection[],
      ) => 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.

    • OptionalthisArg: 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[]

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

    Parameters

    • callbackfn: (
          value: ICardMetadataSection,
          index: number,
          array: readonly ICardMetadataSection[],
      ) => void

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

    • OptionalthisArg: 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

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

    Parameters

    • searchElement: ICardMetadataSection

      The element to search for.

    • OptionalfromIndex: 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: ICardMetadataSection

      The value to locate in the array.

    • OptionalfromIndex: number

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

    Returns number

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

    Parameters

    • Optionalseparator: 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

  • Returns an iterable of keys in the array

    Returns ArrayIterator<number>

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

    Parameters

    • searchElement: ICardMetadataSection

      The value to locate in the array.

    • OptionalfromIndex: 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

  • 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: ICardMetadataSection,
          index: number,
          array: readonly ICardMetadataSection[],
      ) => U

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

    • OptionalthisArg: 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[]

  • Returns a section of an array.

    Parameters

    • Optionalstart: number

      The beginning of the specified portion of the array.

    • Optionalend: number

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

    Returns ICardMetadataSection[]

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

    Parameters

    • predicate: (
          value: ICardMetadataSection,
          index: number,
          array: readonly ICardMetadataSection[],
      ) => 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.

    • OptionalthisArg: 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

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

    Returns string

  • Parameters

    • locales: string | string[]
    • Optionaloptions: NumberFormatOptions & DateTimeFormatOptions

    Returns string

  • Copies an array and removes elements while, if necessary, inserting new elements in their place, returning the remaining elements.

    Parameters

    • start: number

      The zero-based location in the array from which to start removing elements.

    • deleteCount: number

      The number of elements to remove.

    • ...items: ICardMetadataSection[]

      Elements to insert into the copied array in place of the deleted elements.

    Returns ICardMetadataSection[]

    A copy of the original array with the remaining elements.

  • Copies an array and removes elements while returning the remaining elements.

    Parameters

    • start: number

      The zero-based location in the array from which to start removing elements.

    • OptionaldeleteCount: number

      The number of elements to remove.

    Returns ICardMetadataSection[]

    A copy of the original array with the remaining elements.

  • Copies an array, then overwrites the value at the provided index with the given value. If the index is negative, then it replaces from the end of the array

    Parameters

    • index: number

      The index of the value to overwrite. If the index is negative, then it replaces from the end of the array.

    • value: ICardMetadataSection

      The value to insert into the copied array.

    Returns ICardMetadataSection[]

    A copy of the original array with the inserted value.

MMNEPVFCICPMFPCPTTAAATR