diff options
Diffstat (limited to 'school/node_modules/lodash/_isKeyable.js')
-rw-r--r-- | school/node_modules/lodash/_isKeyable.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/school/node_modules/lodash/_isKeyable.js b/school/node_modules/lodash/_isKeyable.js deleted file mode 100644 index 39f1828..0000000 --- a/school/node_modules/lodash/_isKeyable.js +++ /dev/null @@ -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); -} - -module.exports = isKeyable; |