Macro argmin::check_param
source · 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 provided message.