interval-at ( key map -- value )
Factor handbook > The language > Collections > Interval maps

Prev:interval-at* ( key map -- value ? )
Next:interval-key? ( key map -- ? )


Inputs and outputs
keyan object
mapan interval-map
valuethe value for the key, or f

Word description
Looks up a key in an interval map, returning the value of the corresponding interval, or f if the interval is not present in the map.