RebbVal
EN
EN
  • Getting Started
  • Overview
  • Concepts
  • List of rules
    • Age
    • Array
    • Boolean
    • Comparions
    • Composite
    • Datetime
    • Identifications
    • Internet
    • Localization
    • String
Powered by GitBook
On this page
  • Is true
  • Is false

Was this helpful?

  1. List of rules

Boolean

All rules in this page can be applies to boolean and number

Is true

Validates the input is a boolean and the value is true

Or the input is an number and the value is not zero

v.val(true, "is true"); // true
v.val(1, "is true"); // true
v.val(0, "is true"); //false

Is false

Opposite to Is true

v.val(false, "is false"); // true
v.val(1, "is false"); // false
v.val(0, "is false"); // true
PreviousArrayNextComparions

Last updated 4 years ago

Was this helpful?