mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 21:19:21 +03:00
Replaced _.has() with native Object.prototype.hasOwnProperty.call()
This commit is contained in:
parent
84ac7dc893
commit
756fe81091
3 changed files with 4 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue