.. _functx_is-value-in-sequence: =========================== functx:is-value-in-sequence =========================== Whether an atomic value appears in a sequence Description ~~~~~~~~~~~ The functx:is-value-in-sequence function returns a boolean value indicating whether or not an atomic value is equal (based on typed values) to a value in the sequence. If $value or $seq is the empty sequence, it returns false. .. list-table:: :widths: 40 60 :header-rows: 1 * - **Parameters** - **Description** * - value:string() - the atomic value to test * - seq:string() - the sequence of values to search Examples ~~~~~~~~ .. list-table:: :widths: 50 50 :header-rows: 1 * - **XPath** - **Results** * - functx:is-value-in-sequence(1,(1,2,3)) - true * - functx:is-value-in-sequence(5,(1,2,3)) - false * - functx:is-value-in-sequence(1.0,(1,2,3)) - true See Also ~~~~~~~~ .. toctree:: :titlesonly: :glob: * :ref:`functx_is-node-in-sequence-deep-equal`. * :ref:`functx_is-node-in-sequence`.