solana_clap_utils::input_validators

Function is_pow2

source
pub fn is_pow2<T>(bins: T) -> Result<(), String>
where T: AsRef<str> + Display,