NotEqual

public protocol NotEqual[Other = Self]

Raw protocol backing the != operator.

Equatable provides a default notEqual derived from equal, so conforming to Equatable is enough for both == and !=.

Associated Types

type Output

Methods

func notEqual(to: Other) -> Output

Returns the inequality result as Output — typically Bool.

Defined in lang/std/core/comparison.ks