ran npm run tdd & generated TDD
This commit is contained in:
1
test/isPrimitive/isPrimitive.js
Normal file
1
test/isPrimitive/isPrimitive.js
Normal file
@ -0,0 +1 @@
|
||||
module.exports = val => !['object', 'function'].includes(typeof val) || val === null;
|
||||
Reference in New Issue
Block a user