neq
context(equality: Equality<Element>)
infix inline fun <Element> Element.neq(other: Element): Boolean(source)
infix inline fun <Element> Element.neq(other: Element): Boolean(source)
Checks inequality of this and other elements in the provided Equality context. A shortcut for negation of equalsTo.
Receiver
The element to check for inequality.
Return
true if this element does not equal the other element according to the provided equality context, false otherwise.
Context Parameters
equality
The equality context in which to perform the comparison.
Parameters
other
The element to compare with this element.
Type Parameters
Element
The type of elements being compared.