chore: linting fix

This commit is contained in:
Sam Potts 2021-01-29 23:28:02 +11:00
parent 3096dd9513
commit a187d07807

View File

@ -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) ||