Options
All
  • Public
  • Public/Protected
  • All
Menu

Module object/size

Index

References

Functions

References

Renames and re-exports size

Functions

  • size(obj: any): number
  • Gets the size of obj by returning the number of own enumerable properties.

    example
     size({ 'a': 1, 'b': 2 }); //=> 2
    

    Parameters

    • obj: any

      The collection to inspect.

    Returns number

    Returns the collection size.

Generated using TypeDoc