solana_clap_utils::input_validators

Function is_pubkey_or_keypair

Source
pub fn is_pubkey_or_keypair<T>(string: T) -> Result<(), String>
where T: AsRef<str> + Display,