Licence
MIT
Version
1.0.0
Deps
0
Size
2 kB
Vulns
0
Weekly
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.