i2 Notebook SDK
Search results for

    Show/hide table of contents

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

    data.IReadOnlyCollection.isEmpty() method

    Executes firstOrDefault to see if the collection has any elements. If the collection has elements, returns false. Otherwise, returns true.

    Signature:

    isEmpty(): boolean;
    

    Returns:

    boolean

    A boolean indicating whether the collection is empty.

    Introduced: version 1.8

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