indexOf ======= Returns the first position of a value in a value sequence. See also :doc:`lastIndexOf`. Syntax ------ .. code-block:: javascript indexOf(value) =============== ============================ Parameter Description =============== ============================ ``value`` A primitive value or a value object to be looked for. =============== ============================ Examples -------- .. code-block:: javascript $('Admin.StageInstance.stage').indexOf('Spirometry')