Channel.opEquals

Compares two Channels by name.

Additionally compares the IDs if TwitchSupport is declared.

  1. auto opEquals(Channel that)
    struct Channel
    version(ChannelMigrationCompatibility)
    deprecated const
    opEquals
    ()
  2. auto opEquals(string name)

Parameters

that Channel

The Channel to compare to.

Return Value

Type: auto

true if the names are equal, and if TwitchSupport is declared, the IDs are also equal.