Function len

  • Returns the number of elements in a collection type.

    If value.length or value.size() is defined, this will be returned. If value is an Object, it returns the number of keys.

    Returns

    The number of elements in the collection or undefined.

    Parameters

    • value: any

    Returns number

Generated using TypeDoc