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

Function DecodeBool

primitive.go:29–31  ·  view source on GitHub ↗
(zv scode.Bytes)

Source from the content-addressed store, hash-verified

27}
28
29func DecodeBool(zv scode.Bytes) bool {
30 return zv[0] != 0
31}
32
33func (t *TypeOfBool) ID() int {
34 return IDBool

Callers 5

WriteMethod · 0.92
formatPrimitiveFunction · 0.92
loadAnyWithLockMethod · 0.92
buildArrowValueMethod · 0.92
BoolMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected