This commit is contained in:
zino committed 2021-03-02 00:06:38 +01:00
1 parent 3a8aab0e9a
commit eeb745b013
3567 files changed
+1234741

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
'use strict';
module.exports = function isPrimitive(value) {
return value === null || (typeof value !== 'function' && typeof value !== 'object');
};