type

language.Range

class Range:

Validator: value must lie within ``[min, max]``.

Pass to :func:`param`'s ``validator=`` kwarg. Both bounds are optional.

Examples

::

    lr = L.param(1e-3, validator=L.Range(1e-6, 1.0))

Members

property

Source: laco/language.py:1459