solana_program::program_pack

Trait IsInitialized

source
pub trait IsInitialized {
    // Required method
    fn is_initialized(&self) -> bool;
}
Expand description

Check if a program account state is initialized

Required Methods§

source

fn is_initialized(&self) -> bool

Is initialized

Implementors§