Skip to main content

is_observatory

Function is_observatory 

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

Checks if the id is the observatory.

§Arguments

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

§Returns

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