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