.. _functx_are-distinct-values: ========================== functx:are-distinct-values ========================== Whether all the values in a sequence are distinct Description ~~~~~~~~~~~ The functx:are-distinct-values function returns true if all of the values in the sequence are distinct; i.e., no one value appears more than once in the sequence. Distinctness is based on type equality. .. list-table:: :widths: 40 60 :header-rows: 1 * - **Parameters** - **Description** * - seq:string() - the sequence of values Examples ~~~~~~~~ .. list-table:: :widths: 50 50 :header-rows: 1 * - **XPath** - **Results** * - functx:are-distinct-values( (1,2,1,3)) - false * - functx:are-distinct-values( (1,2,1,3,2.0)) - false * - functx:are-distinct-values( (1,2,3) ) - true See Also ~~~~~~~~ .. toctree:: :titlesonly: :glob: * :ref:`functx_non-distinct-values`. * :ref:`distinct-values`.