Checks if the error is a native error.

  • Parameters

    • error: any

      the error to check

    Returns error is NativeError

    true if the error is a native error, false otherwise