UNPKG

@bemedev/basifun

Version:
13 lines (11 loc) 284 B
const checkKeys = (arg, ...keys) => { const argKeys = Object.keys(arg); for (const key of keys) { const check = !argKeys.includes(key); if (check) return false; } return true; }; export { checkKeys }; //# sourceMappingURL=checkKeys.js.map