summaryrefslogtreecommitdiff
path: root/alarm/node_modules/lodash/isElement.js
diff options
context:
space:
mode:
Diffstat (limited to 'alarm/node_modules/lodash/isElement.js')
-rw-r--r--alarm/node_modules/lodash/isElement.js25
1 files changed, 0 insertions, 25 deletions
diff --git a/alarm/node_modules/lodash/isElement.js b/alarm/node_modules/lodash/isElement.js
deleted file mode 100644
index 76ae29c..0000000
--- a/alarm/node_modules/lodash/isElement.js
+++ /dev/null
@@ -1,25 +0,0 @@
-var isObjectLike = require('./isObjectLike'),
- isPlainObject = require('./isPlainObject');
-
-/**
- * Checks if `value` is likely a DOM element.
- *
- * @static
- * @memberOf _
- * @since 0.1.0
- * @category Lang
- * @param {*} value The value to check.
- * @returns {boolean} Returns `true` if `value` is a DOM element, else `false`.
- * @example
- *
- * _.isElement(document.body);
- * // => true
- *
- * _.isElement('<body>');
- * // => false
- */
-function isElement(value) {
- return isObjectLike(value) && value.nodeType === 1 && !isPlainObject(value);
-}
-
-module.exports = isElement;