Options
All
  • Public
  • Public/Protected
  • All
Menu

Functions

Functions

getObjectKeys

  • getObjectKeys(obj: object | undefined | null): PropertyKey[]

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

Parameters

  • obj: object | undefined | null

    任何对象

Returns PropertyKey[]

属性数组

  • 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.