no message
This commit is contained in:
15
.output/server/node_modules/lodash-es/_isKeyable.js
generated
vendored
15
.output/server/node_modules/lodash-es/_isKeyable.js
generated
vendored
@@ -1,15 +0,0 @@
|
||||
/**
|
||||
* Checks if `value` is suitable for use as unique object key.
|
||||
*
|
||||
* @private
|
||||
* @param {*} value The value to check.
|
||||
* @returns {boolean} Returns `true` if `value` is suitable, else `false`.
|
||||
*/
|
||||
function isKeyable(value) {
|
||||
var type = typeof value;
|
||||
return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
|
||||
? (value !== '__proto__')
|
||||
: (value === null);
|
||||
}
|
||||
|
||||
export default isKeyable;
|
Reference in New Issue
Block a user