MCPcopy
hub / github.com/gopherjs/gopherjs / isNumeric

Function isNumeric

compiler/utils.go:740–742  ·  view source on GitHub ↗
(t *types.Basic)

Source from the content-addressed store, hash-verified

738}
739
740func isNumeric(t *types.Basic) bool {
741 return t.Info()&types.IsNumeric != 0
742}
743
744func isOrdered(t *types.Basic) bool {
745 return t.Info()&types.IsOrdered != 0

Callers 5

zeroValueMethod · 0.85
externalizeMethod · 0.85
translateExprMethod · 0.85
translateConversionMethod · 0.85
loadStructMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…