• Parameters

    • valueToCheck: unknown

      The value to check

    Returns valueToCheck is Error

    Type casting if the value is an error

    Description

    Checks whether or not the value passed in is an instance of Error

Generated using TypeDoc