.. role:: ts-api-decorator

#####
Range
#####

.. js:module:: cee
   :noindex:

.. container:: ts-api-section

   .. js:class:: Range

      An immutable min / max range



.. container:: api-index-section

   .. rubric:: Constructors

   .. rst-class:: api-index-list-item api-kind-constructor api-parent-kind-class

   * :js:meth:`~cee.Range.constructor`



.. container:: api-index-section

   .. rubric:: Properties

   .. rst-class:: api-index-list-item api-kind-property api-parent-kind-class

   * :js:attr:`~cee.Range.maximum`
   * :js:attr:`~cee.Range.minimum`



.. container:: api-index-section

   .. rubric:: Methods

   .. rst-class:: api-index-list-item api-kind-method api-parent-kind-class

   * :js:meth:`~cee.Range.isValid`





------------

Constructors
============

.. container:: ts-api-section

   .. js:function:: Range.constructor( min, max)

      :param min: None
      :type min: number
      :param max: None
      :type max: number


      :rtype: Range



Properties
==========

.. container:: ts-api-section

   .. js:attribute:: Range.maximum

      :type: number





.. container:: ts-api-section

   .. js:attribute:: Range.minimum

      :type: number





Methods
=======

.. rst-class:: ts-api-section

isValid
-------

.. js:method:: Range.isValid()



   Returns true if the range is valid, i.e. if minimum <= maximum


   :rtype: boolean

