You are here

private function Channel::isInList in Rocket.Chat 8.2

Check if this Channel is in the List provided.

Parameters

$list:

Return value

bool

1 call to Channel::isInList()
Channel::fetchChannel in modules/rocket_chat_api/src/RocketChat/Element/Channel.php

File

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

Class

Channel

Namespace

Drupal\rocket_chat_api\RocketChat\Element

Code

private function isInList($list) {
  return !is_null($this
    ->getFromList($list));
}