Determines whether the given version is a major, minor, or patch version.
The version number.
Either "major", "minor", or "patch", depending on the version type.
"major"
"minor"
"patch"
This function does not support the new class-based handling of VersionNumber. Please use new VersionNumber(version).type instead.
new VersionNumber(version).type
Determines whether the given version is a major, minor, or patch version.