Function kvarn::ctl::check_no_arguments

source ·
pub fn check_no_arguments(args: &Arguments) -> Result<(), PluginResponse>
Available on crate feature handover only.
Expand description

Check if args has no arguments. If that’s the case, an error with the appropriate PluginResponse is returned. Use the if let Err() pattern to easily return.