solana_program::sysvar::slot_hashes

Function check_id

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

Returns true if given pubkey is the program ID.