Instance Method

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

Related Symbols

func result(at: Int)

Returns the query result at a specific index.