Options
All
  • Public
  • Public/Protected
  • All
Menu

Module object/values

Index

References

Functions

References

Renames and re-exports values

Functions

  • values<O>(obj: O): O[keyof O][]
  • Returns a list of all the enumerable own properties of the supplied object. Note that the order of the output array is not guaranteed across different JS platforms.

    example
     values({a: 1, b: 2, c: 3}); //=> [1, 2, 3]
    

    Type parameters

    • O

    Parameters

    • obj: O

      The object to extract values from

    Returns O[keyof O][]

    An array of the values of the object's own properties.

Generated using TypeDoc