From 26105034da4fcce7ac883c899d781f016559310d Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 8 Nov 2018 00:38:48 +0800 Subject: switch to vuepress --- node_modules/es-abstract/helpers/isPrimitive.js | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 node_modules/es-abstract/helpers/isPrimitive.js (limited to 'node_modules/es-abstract/helpers/isPrimitive.js') diff --git a/node_modules/es-abstract/helpers/isPrimitive.js b/node_modules/es-abstract/helpers/isPrimitive.js new file mode 100644 index 00000000..36691564 --- /dev/null +++ b/node_modules/es-abstract/helpers/isPrimitive.js @@ -0,0 +1,3 @@ +module.exports = function isPrimitive(value) { + return value === null || (typeof value !== 'function' && typeof value !== 'object'); +}; -- cgit v1.2.3