EntityCollectionIndex
public struct EntityCollectionIndex<T> where T : Hashable
The index value of EntityCollection.
-
Equality is the inverse of inequality. For any values
aandb,a == bimplies thata != bisfalse.Returns a Boolean value indicating whether two values are equal.
Declaration
Swift
public static func == (lhs: EntityCollectionIndex, rhs: EntityCollectionIndex) -> BoolParameters
lhsA value to compare.
rhsAnother value to compare.
Return Value
trueif the first argument equals the second argument;falseif not.
-
This function is the only requirement of the
Comparableprotocol. The remainder of the relational operator functions are implemented by the standard library for any type that conforms toComparable.Returns a Boolean value indicating whether the value of the first argument is less than that of the second argument.
Declaration
Swift
public static func < (lhs: EntityCollectionIndex, rhs: EntityCollectionIndex) -> BoolParameters
lhsA value to compare.
rhsAnother value to compare.
Return Value
trueif the first argument is less than the second argument;falseif not. -
Returns a Boolean value indicating whether the value of the first argument is less than or equal to that of the second argument.
Declaration
Swift
public static func <= (lhs: EntityCollectionIndex, rhs: EntityCollectionIndex) -> BoolParameters
lhsA value to compare.
rhsAnother value to compare.
Return Value
trueif the first argument is less than or equal the second argument;falseif not. -
Return a Boolean value indicating whether the value of the first argument is greater than or equal to that of the second argument.
Declaration
Swift
public static func >= (lhs: EntityCollectionIndex, rhs: EntityCollectionIndex) -> BoolParameters
lhsA value to compare.
rhsAnother value to compare.
Return Value
trueif the first argument is greater than or equal the second argument;falseif not. -
Return a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
Declaration
Swift
public static func > (lhs: EntityCollectionIndex, rhs: EntityCollectionIndex) -> BoolParameters
lhsA value to compare.
rhsAnother value to compare.
Return Value
trueif the first argument is greater than the second argument;falseif not.
EntityCollectionIndex Structure Reference