Macro argmin::check_param [−][src]
macro_rules! check_param { ($param : expr, $msg : expr, $error : ident) => { ... }; ($param : expr, $msg : expr) => { ... }; }
Expand description
Release an T
from an Option<T>
if it is not None
. If it is None
, return an
ArgminError
with a message that needs to be provided.