typst_utils

Function option_eq

source
pub fn option_eq<L, R>(left: Option<L>, other: R) -> bool
where L: PartialEq<R>,
Expand description

Check if the Option-wrapped L is same to R.