solana_clap_utils::input_validators

Function is_amount

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