Check if the given key is present in the given object (not inherited).
const isPropertyOfFoo = isPropertyOf({ "🟢": "🟩" });isPropertyOfFoo("🟢"); // trueisPropertyOfFoo("🟩"); // false Copy
const isPropertyOfFoo = isPropertyOf({ "🟢": "🟩" });isPropertyOfFoo("🟢"); // trueisPropertyOfFoo("🟩"); // false
Object to check.
Curried function with context set.
context
Check if the given key is present in the given object (not inherited).
Example