A color must be a CSS colour in hex, rgb(), hsl() or a colour name. An image or text value
need only be a string. Only a
loaded map knows whether the sprite has the image.
Throws
RangeError naming the knob and what it expects, for a value it does not take.
Example
constknob = knobEntryOf(trafficIncidentsKnobCatalogue, 'filters.magnitudes.values'); validateKnobValue(knob, ['major', 'severe']); // RangeError: … 'severe' is not
Checks a value against a catalogue entry's kind, options and range, as far as the range's
boundshold.