Skip to main content

is_command_available

Function is_command_available 

Source
pub fn is_command_available(command: &str) -> bool
Expand description

Check if a command is available in the system PATH

ยงErrors

Returns false if the command is not found or if the check fails.