Function semver_rs::cmp[][src]

pub fn cmp(
    a: &str,
    op: Operator,
    b: &str,
    opts: impl IntoOptionsMaybe
) -> Result<bool, Error>
Expand description

Compares whether Version a matches the semver operator against Version b.