Type Parameters
- S extends string | number | symbol
- VT
- T extends Record<S, (args?: AT) => VT>
- AT = object
Returns (x: T, args?: AT) => boolean
A function that takes an object and optional arguments, evaluates the property as a
function, and checks if the result is equal to the value.
Create a function that checks if evaluating a property on the passed in object as a function is equal to the second argument.