diff options
| -rw-r--r-- | hamlet.go | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -10,16 +10,6 @@ func (a Assertion) Assert() bool { return a.value } -// False reports whether v contains a zero value for its type. -func False(v any) Assertion { - return Assertion{reflect.ValueOf(v).IsZero()} -} - -// True reports whether v contains a non-zero value for its type. -func True(v any) Assertion { - return Assertion{!reflect.ValueOf(v).IsZero()} -} - func New(v any) Assertion { return Assertion{!reflect.ValueOf(v).IsZero()} } |
