solana_sdk::sysvar

Function is_sysvar_id

Source
pub fn is_sysvar_id(id: &Pubkey) -> bool
👎Deprecated since 2.0.0: please check the account’s owner or use solana_sdk::reserved_account_keys::ReservedAccountKeys instead
Expand description

Returns true of the given Pubkey is a sysvar account.