Replace the isArray helper function with the native Array.isArray function

*Follow-up to PR 8813.*
This commit is contained in:
Jonas Jenwald 2017-09-01 20:27:13 +02:00
parent 22ade754cc
commit cfb4955a92
17 changed files with 77 additions and 87 deletions

View file

@ -1083,10 +1083,6 @@ function isString(v) {
return typeof v === 'string';
}
function isArray(v) {
return v instanceof Array;
}
function isArrayBuffer(v) {
return typeof v === 'object' && v !== null && v.byteLength !== undefined;
}
@ -1695,7 +1691,6 @@ export {
getLookupTableFactory,
getVerbosityLevel,
info,
isArray,
isArrayBuffer,
isBool,
isEmptyObj,