MCPcopy Create free account
hub / github.com/OpenPrinting/goipp / Within

Method Within

value.go:152–152  ·  view source on GitHub ↗

Within checks that x fits within the range: for Integer: x == Integer's value for Range: Lower <= x && x <= Upper

(x int)

Source from the content-addressed store, hash-verified

150 // for Integer: x == Integer's value
151 // for Range: Lower <= x && x <= Upper
152 Within(x int) bool
153}
154
155var (

Callers 1

TestIntegerOrRangeFunction · 0.65

Implementers 1

Rangevalue.go

Calls

no outgoing calls

Tested by 1

TestIntegerOrRangeFunction · 0.52