i2 Notebook SDK
Search results for

    Show/hide table of contents

    Home > @i2analyze/notebook-sdk > data > IReadOnlyCollection > filter

    data.IReadOnlyCollection.filter() method

    Returns a new collection with all objects that satisfy a predicate.

    Signature:

    filter(predicate: (v: V) => boolean): IReadOnlyCollection<V>;
    

    Introduced: version 1.0

    Parameters

    Parameter Type Description
    predicate (v: V) => boolean A predicate function to apply to each object.

    Returns:

    IReadOnlyCollection<V>

    The new collection.

    In this article
    Back to top © N. Harris Computer Corporation