tilde Requirement
fun tildeRequirement(version: String?, type: Semver.SemverType): Requirement
Content copied to clipboard
Allows patch-level changes if a minor version is specified on the comparator. Allows minor-level changes if not.
Return
the generated requirement
Parameters
version
the version of the requirement
type
the version system used for this requirement