Function is_admin_controller
Source pub fn is_admin_controller(caller: UserId, controllers: &Controllers) -> bool
Expand description
Checks if a caller is an admin controller.
§Arguments
caller: UserId of the caller.
controllers: Reference to the current set of controllers.
§Returns
true if the caller is an admin controller, otherwise false.