chore: linting fix
This commit is contained in:
parent
3096dd9513
commit
a187d07807
@ -21,11 +21,11 @@ const isTrack = (input) => instanceOf(input, TextTrack) || (!isNullOrUndefined(i
|
|||||||
const isPromise = (input) => instanceOf(input, Promise) && isFunction(input.then);
|
const isPromise = (input) => instanceOf(input, Promise) && isFunction(input.then);
|
||||||
|
|
||||||
const isElement = (input) =>
|
const isElement = (input) =>
|
||||||
input !== null &&
|
input !== null &&
|
||||||
(typeof input === "object") &&
|
typeof input === 'object' &&
|
||||||
(input.nodeType === 1) &&
|
input.nodeType === 1 &&
|
||||||
(typeof input.style === "object") &&
|
typeof input.style === 'object' &&
|
||||||
(typeof input.ownerDocument === "object");
|
typeof input.ownerDocument === 'object';
|
||||||
|
|
||||||
const isEmpty = (input) =>
|
const isEmpty = (input) =>
|
||||||
isNullOrUndefined(input) ||
|
isNullOrUndefined(input) ||
|
||||||
|
Loading…
x
Reference in New Issue
Block a user