solana_clap_utils::input_validators

Function is_hash

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