MCPcopy Create free account
hub / github.com/brimdata/super / IsInteger

Function IsInteger

type.go:160–162  ·  view source on GitHub ↗

True iff the type id is encoded as a BSUP signed or unsigened integer scode.Bytes.

(id int)

Source from the content-addressed store, hash-verified

158
159// True iff the type id is encoded as a BSUP signed or unsigened integer scode.Bytes.
160func IsInteger(id int) bool {
161 return id <= IDInt256
162}
163
164// True iff the type id is encoded as a BSUP signed or unsigned integer scode.Bytes,
165// float16 scode.Bytes, float32 scode.Bytes, or float64 scode.Bytes.

Callers 8

integerMethod · 0.92
indexOfMethod · 0.92
castTypeFunction · 0.92
indexArrayOrSetFunction · 0.92
CallMethod · 0.92
getNumericIndexFunction · 0.92
CallMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected