You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reflect false
deep [] // should state that both functions are != nil
reflect false
deep [] // should state that function 1 is not nil but function 2 is nil
reflect true
deep []
The text was updated successfully, but these errors were encountered:
deep.Equal does behave differently from reflect.DeepEqual when comparing functions.
The documentation of reflect.DeepEqual states for functions:
Example Code:
Output:
The text was updated successfully, but these errors were encountered: