ic_cdk::api

Function is_controller

Source
pub fn is_controller(principal: &Principal) -> bool
Expand description

Determines if a Principal is a controller of the canister.