Skip to content
FutureBlitz

    Install

    Import std.core.interfaces

    Equatable

    std.core.interfaces

    interface

    Public Interface Equatable

    What == says, and != is always its opposite. A Struct that lists Equatable without an Operator == of its own compares its fields, and a Class compares whether two are the same object.

    std/core/interfaces.fb, line 27

    • Operator ==(a: Self, b: Self): Bool operator #

      Whether a and b are equal.

    Report an issue with this page or with FutureBlitz on GitHub.