solana_sdk::sysvar::clock

Function check_id

source
pub fn check_id(id: &Pubkey) -> bool
Expand description

Returns true if given pubkey is the program ID.