1.0.0 • Published 6 years ago
can-delete-prop v1.0.0
can-delete-prop
Checks whether the delete
operator can be used on an object property.
Installation
Requires Node.js.
npm i can-delete-prop
API
The module exports a single function.
Parameters
obj
(object)key
(string or symbol)
Return Value
Returns true
if the property exists and is configurable; otherwise false
.
Related
1.0.0
6 years ago