isBoolean

Returns whether the argument is a boolean.

Arguments

  • object - The value to check.

Example

{
  "$template": {
    "$comment": "The field below will be true",
    "test": "{{isBoolean(true)}}"
  }
}