@launchdarkly/js-server-sdk-common - v2.26.1
    Preparing search index...

    Interface DataCollection<T>

    Used internally for data store implementations that require items in an ordered list rather than as object properties.

    interface DataCollection<T> {
        items: T[];
        kind: DataKind;
    }

    Type Parameters

    • T
    Index
    items: T[]

    An ordered list of items of this kind.

    kind: DataKind

    Describes the kind of items, such as feature flags or user segments.