mirror of
https://github.com/BreizhHardware/memoizee.git
synced 2026-03-18 21:40:27 +01:00
Add null check for _has
This commit is contained in:
@@ -145,6 +145,7 @@ module.exports = function (original, length, options) {
|
||||
var id, args = arguments;
|
||||
if (resolve) args = resolve(args);
|
||||
id = get(args);
|
||||
if (id === null) return false;
|
||||
return conf.has(id);
|
||||
});
|
||||
defineProperties(memoized, {
|
||||
|
||||
Reference in New Issue
Block a user