caller_is_console

Function caller_is_console 

Source
pub fn caller_is_console(caller: UserId) -> bool
Expand description

Checks if the caller is the console.

§Arguments

  • caller: UserId of the caller.

§Returns

true if the caller matches the console’s principal, otherwise false.