core-utils
    Preparing search index...
    • Type guard that checks if a value is an instance of Error.

      Parameters

      • value: unknown

        The value to check

      Returns value is Error

      True if the value is an Error instance, false otherwise