cue: get rid of unused and confusing methods

Do IsUint and IsInt indicate the posibility of
such a number, or do they indicate concretely
what's there?

Remove until there is a better API.

Change-Id: Iabda26e003f985792c2b0a02911dc078169b7152
Reviewed-on: https://cue-review.googlesource.com/c/cue/+/1961
Reviewed-by: Marcel van Lohuizen <mpvl@google.com>
diff --git a/cue/types.go b/cue/types.go
index 11be127..5c19d62 100644
--- a/cue/types.go
+++ b/cue/types.go
@@ -281,21 +281,6 @@
 	ErrInfinite = errors.New("cue: infinite")
 )
 
-// IsInt reports whether n is a integral number type.
-func (v Value) IsInt() bool {
-	_, err := v.getNum(intKind) // TODO: make more efficient.
-	return err == nil
-}
-
-// IsUint reports whether n is a positive integral number type.
-func (v Value) IsUint() bool {
-	if !v.IsInt() {
-		return false
-	}
-	n, _ := v.path.cache.(*numLit)
-	return n.v.Sign() >= 0
-}
-
 // Int converts the underlying integral number to an big.Int. It reports an
 // error if the underlying value is not an integer type. If a non-nil *Int
 // argument z is provided, Int stores the result in z instead of allocating a
diff --git a/cue/types_test.go b/cue/types_test.go
index 93fe468..f7ddab0 100644
--- a/cue/types_test.go
+++ b/cue/types_test.go
@@ -223,15 +223,6 @@
 				}
 			}
 
-			if got := n.IsInt(); got != !tc.notInt {
-				t.Errorf("isInt: got %v; want %v", got, !tc.notInt)
-			}
-
-			isUint := !tc.notInt && tc.int >= 0
-			if got := n.IsUint(); got != isUint {
-				t.Errorf("isUint: got %v; want %v", got, isUint)
-			}
-
 			vi, err := n.Int64()
 			checkErr(t, err, tc.err, "Int64")
 			if vi != tc.int {