solana_program::sysvar::rewards

Function check_id

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

Returns true if given pubkey is the program ID.