solana_account_decoder::validator_info

Function check_id

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

Returns true if given pubkey is the program ID.