Function caller_is_self
Source pub fn caller_is_self(caller: UserId) -> bool
Expand description
Checks if the caller is the canister itself.
§Arguments
caller: UserId of the caller.
§Returns
true if the caller is calling itself, if the canister is the caller, otherwise false.