You are here

public function Channel::isEmpty in Rocket.Chat 8.2

Return value

bool isEmpty?

1 call to Channel::isEmpty()
Channel::getChannelProxy in modules/rocket_chat_api/src/RocketChat/Element/Channel.php
Retrieve the Proxy, create the Channel / Group if needed.

File

modules/rocket_chat_api/src/RocketChat/Element/Channel.php, line 589

Class

Channel

Namespace

Drupal\rocket_chat_api\RocketChat\Element

Code

public function isEmpty() {
  if (empty($this->ChannelName)) {
    return TRUE;
  }
  return FALSE;
}