Interface AnyInstanceCollectionMethods

AnyInstanceCollectionMethods defines all possible methods available on an Instance for the underlying collection types.

Hierarchy

Methods

  • Returns an iterable of key-value pairs for each entry in the map. Each value is represented as an Instance corresponding to its key.

    If the underlying instance at runtime is not a map, returns an empty iterator.

    Type Parameters

    • T extends Record<string, Value>

    Returns IterableIterator<[keyof T, Instance<T[keyof T]>]>

  • Returns an iterable of keys in the map.

    If the underlying instance at runtime is not a map, returns an empty iterator.

    Type Parameters

    • T extends Record<string, Value>

    Returns IterableIterator<keyof T>

  • Returns the number of entries in the map.

    If the underlying instance at runtime is not a map, returns undefined.

    Returns undefined | number

  • Returns an iterable of values in the map. Each value is represented as a Instance.

    If the underlying instance at runtime is not a map, returns an empty iterator.

    Type Parameters

    • T extends Record<string, Value>

    Returns IterableIterator<Instance<T[keyof T]>>

Generated using TypeDoc