Type Parameters
-
Property extends PropertyKey
Returns ((object) => object is Readonly<Record<Property, unknown>>)
Curried function with property
in context.
-
- (object): object is Readonly<Record<Property, unknown>>
-
Returns object is Readonly<Record<Property, unknown>>
Curried wrapper for the
in
operator. Given aproperty
name and anobject
, returnstrue
the object contains that property,false
otherwise.Example