Skip to main content

is_console

Function is_console 

Source
pub fn is_console(id: Principal) -> bool
Expand description

Checks if the id is the console.

§Arguments

  • id: Principal e.g. of the caller.

§Returns

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