Checks whether an unknown value is an ErrorLike object, which guarantees that it's an object that has at least two string properties: a non-empty name and message.
name
message
an unknown value
true if the value is an ErrorLike object, false otherwise
Checks whether an unknown value is an ErrorLike object, which guarantees that it's an object that has at least two string properties: a non-empty
nameandmessage.