getOwnProperty
Retrieves a property only if hasOwnProperty()
is true.
Installation
npm install get-own-property --save
Usage
const getOwnProperty = const obj = hello: 'world' // 'world' typeof objtoString // 'function' // undefined
Retrieves a property only if hasOwnProperty()
is true.
npm install get-own-property --save
const getOwnProperty = const obj = hello: 'world' // 'world' typeof objtoString // 'function' // undefined
npm i get-own-property
1,007
1.0.0
MIT