Skip to main content

need

Function need 

Source
pub fn need(args: &[String], n: usize, what: &str) -> R
Expand description

Checks a command received at least n arguments.

ยงErrors

Fewer than n arguments; the message names the missing what.