Contents

index(ofResult:)

Returns the index of a query result object in the receiver’s results array.

Declaration

func index(ofResult result: Any) -> Int

Parameters

  • result:

    The query result object being inquired about.

Return Value

Index of result in the query result array.

See Also

Getting Query Results