generate new test that did already exist & update all module snippets with declaration
This commit is contained in:
@ -1 +1 @@
|
||||
module.exports = val => !['object', 'function'].includes(typeof val) || val === null;
|
||||
module.exports = isPrimitive = val => !['object', 'function'].includes(typeof val) || val === null;
|
||||
Reference in New Issue
Block a user