Permissible.can - multiple declarations

Function Permissible.can

Returns whether the given user id has a given permission

Prototype

bool can(
  Snowflake user,
  Permission perm
);

Function Permissible.can

Returns whether the given user id has all of the given permissions

Prototype

bool can(
  Snowflake user,
  Permission[] some
);

Function Permissible.can

Returns whether the given user has a given permission

Prototype

bool can(
  User user,
  Permission perm
);

Function Permissible.can

Returns whether the given user has all of the given permissions

Prototype

bool can(
  User user,
  Permission[] some
);