Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "count"

Index

Functions

Functions

count

  • count<T>(this: Sequence<T>, predicate?: undefined | function): number
  • Returns the number of elements of this sequence. If predicate is present, returns the number of elements matching the given predicate.

    Type parameters

    • T

    Parameters

    • this: Sequence<T>
    • Optional predicate: undefined | function

    Returns number