solana_clap_utils::input_validators

Function is_amount_or_all

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