• Count the number of elements x for which predicate(x) is true.

    Type Parameters

    • T

    Parameters

    • xs: Iterable<T>
    • predicate: ((x) => boolean)
        • (x): boolean
        • Parameters

          • x: T

          Returns boolean

    Returns number

Generated using TypeDoc