The type of the object to check
The type of the property to check
The object to check
The property key to check
The value to compare against the property value
A Result
object with either a boolean indicating whether the property exists
and has the specified value and type, or an Error
object if the property does not exist
Generated using TypeDoc v0.24.7
Checks if an object has the specified property with the given value as well as the type is the same.
Example
Property exists with matching value and type:
Example
Property exists with non-matching value:
Example
Property exists with matching type but different value type:
Example
Property does not exist in the object: