The options used to initialize an observable map.

interface IOptions<T> {
    itemCmp?: ((first, second) => boolean);
    values?: Iterable<T>;
}

Type Parameters

  • T

Properties

Properties

itemCmp?: ((first, second) => boolean)

The item comparison function for change detection on set.

If not given, strict === equality will be used.

Type declaration

    • (first, second): boolean
    • Parameters

      • first: T
      • second: T

      Returns boolean

values?: Iterable<T>

An optional initial set of values.