@@ -44,6 +44,13 @@ func IsFract(v any) (ok bool) {
return ok
}
func IsRational(v any) (ok bool) {
if _, ok = v.(*fraction); !ok {
_, ok = v.(int64)
func IsNumber(v any) (ok bool) {
return IsFloat(v) || IsInteger(v)
The note is not visible to the blocked user.