Function isNetworkError

  • Indicates whether the given value represents a NetworkError.

    Parameters

    • error: any

      A value that might be a NetworkError.

    Returns error is NetworkError