[][src]Function semver_rs::cmp

pub fn cmp(
    a: &str,
    op: Operator,
    b: &str,
    opts: Option<Options>
) -> Result<bool, Error>

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