summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hamlet.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/hamlet.go b/hamlet.go
index 8b2a6b7..2b1c111 100644
--- a/hamlet.go
+++ b/hamlet.go
@@ -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()}
}