hasProp
hasProp :: string → { k: v } → Boolean
Takes a string defining a property name and returns a new function evaluation whether the received value (can be of any type) exists and has the defined property.
hasProp does not evaluate whether the received value is strictly of type Object, it only makes sure it has the defined property
Last updated