Options
All
  • Public
  • Public/Protected
  • All
Menu

Functions

Functions

getObjectEntries

  • getObjectEntries(obj: object): Array<[PropertyKey, any]>

获取对象中所有的属性及对应的值,包括 ES6 新增的 Symbol 类型的属性

Parameters

  • obj: object

    任何对象

Returns Array<[PropertyKey, any]>

属性及其对应值的二维数组

  • Inherited
  • Protected
  • Private
  • Static
  • Module
  • Object
  • Property
  • Function
  • Variable
  • Index
  • Type
  • Class
  • Interface
  • Enum
  • Constructor
  • Getter/Setter
Made with ❤️ by pirix-gh. Documentation generated by TypeDoc.