Handbook
Glossary
interval-key? ( key map -- ? )
Factor handbook
»
The language
»
Collections
»
Interval maps
Prev:
interval-at ( key map -- value )
Next:
interval-values ( map -- values )
Vocabulary
interval-maps
Inputs
key
an
object
map
an
interval-map
Outputs
?
a
boolean
Word description
Tests whether an object is in an interval in the interval map, returning t if the object is present.
Definition
USING:
kernel
;
IN:
interval-maps
:
interval-key?
( key map -- ? )
interval-at*
nip
;
inline