Function asSet

  • Wraps an observable array to offer a set like interface.

    Type Parameters

    • T

    Parameters

    • array: T[]

    Returns ObservableSet<T> & { dataObject: typeof array }