Interface LiveMapPathObjectCollectionMethods<T>

Defines collection methods available on a LiveMapPathObject.

Type Parameters

  • T extends Record<string, Value> = Record<string, Value>

Hierarchy

Methods

  • Returns an iterable of key-value pairs for each entry in the map at this path. Each value is represented as a PathObject corresponding to its key.

    If the path does not resolve to a map object, returns an empty iterator.

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

  • Returns an iterable of keys in the map at this path.

    If the path does not resolve to a map object, returns an empty iterator.

    Returns IterableIterator<keyof T>

  • Returns the number of entries in the map at this path.

    If the path does not resolve to a map object, returns undefined.

    Returns undefined | number

  • Returns an iterable of values in the map at this path. Each value is represented as a PathObject.

    If the path does not resolve to a map object, returns an empty iterator.

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

Generated using TypeDoc