pub fn sign_to_monotonicity(
    regulation_sign: &Monotonicity,
) -> Option<Monotonicity>
Expand description

Utility to convert regulation sign from enum type used in this crate into the type used in lib_param_bn.

TODO: note that lib-param-bn currently cannot express Dual variant of Monotonicity. We convert it to Unknown instead.