You are here

private function User::isInList in Rocket.Chat 8.2

Check if this Channel is in the List provided.

Parameters

$list:

Return value

bool

1 call to User::isInList()
User::getUserProxy in modules/rocket_chat_api/src/RocketChat/Element/User.php
Retrieve the Proxy, create the User if needed.

File

modules/rocket_chat_api/src/RocketChat/Element/User.php, line 106

Class

User

Namespace

Drupal\rocket_chat_api\RocketChat\Element

Code

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