isSemver

Returns whether the argument is a semantic version object.

Arguments

  • object - The value to check.

Example

{
  "$template": {
    "$comment": "The field below will be true",
    "test": "{{isSemver(semver('1.10.0'))}}"
  }
}