Function junobuild_shared::controllers::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.