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