Channel.opEquals

Compares the name of the channel to a string.

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

Parameters

name string

The name to compare to.

Return Value

Type: auto

true if the names are equal; false if not. The ID is not compared.