Replaced _.has() with native Object.prototype.hasOwnProperty.call()

This commit is contained in:
djmaze 2020-07-20 22:06:21 +02:00
parent 84ac7dc893
commit 756fe81091
3 changed files with 4 additions and 6 deletions

View file

@ -15,12 +15,11 @@ const isObject = _.isObject;
const isFunc = _.isFunction;
const isUnd = _.isUndefined;
const isNull = _.isNull;
const has = _.has;
const noop = () => {}; // eslint-disable-line no-empty-function
const noopTrue = () => true;
const noopFalse = () => false;
export { trim, isArray, isObject, isFunc, isUnd, isNull, has, noop, noopTrue, noopFalse, jassl };
export { trim, isArray, isObject, isFunc, isUnd, isNull, noop, noopTrue, noopFalse, jassl };
/**
* @param {Function} func