@designliquido/xpath
    Preparing search index...

    Function findMismatch

    • Find the first item in a sequence that doesn't match an ItemType

      Parameters

      • sequence: any[]

        Array of values

      • itemType: ItemType

        The ItemType to match against

      Returns number

      Index of non-matching item, or -1 if all match