aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/utils/is.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/utils/is.js')
-rw-r--r--src/js/utils/is.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/js/utils/is.js b/src/js/utils/is.js
index 5a60da06..28f0c1a4 100644
--- a/src/js/utils/is.js
+++ b/src/js/utils/is.js
@@ -21,11 +21,11 @@ const isTrack = (input) => instanceOf(input, TextTrack) || (!isNullOrUndefined(i
const isPromise = (input) => instanceOf(input, Promise) && isFunction(input.then);
const isElement = (input) =>
- input !== null &&
- (typeof input === "object") &&
- (input.nodeType === 1) &&
- (typeof input.style === "object") &&
- (typeof input.ownerDocument === "object");
+ input !== null &&
+ typeof input === 'object' &&
+ input.nodeType === 1 &&
+ typeof input.style === 'object' &&
+ typeof input.ownerDocument === 'object';
const isEmpty = (input) =>
isNullOrUndefined(input) ||