Asserts whether an object possesses NONE of the specified keys (using the in operator, unwrapping Proxies if present).
Safe against null, undefined, and non-object primitives (returns true for non-objects).
Parameters
obj: unknown
The target object to inspect
...keys: PropertyKey[]
Property keys that must not exist on the target
Returns boolean
True if none of the specified keys exist on the target
Throws
Errors from proxy traps or getters used while unwrapping or checking keys propagate to the caller.
Example
if (hasNoneOf(item, 'name', 'key', 'install')) { ... }
Asserts whether an object possesses NONE of the specified keys (using the
inoperator, unwrapping Proxies if present). Safe against null, undefined, and non-object primitives (returns true for non-objects).