AJSF API reference
    Preparing search index...

    Function isBoolean

    • 'isBoolean' utility function

      Checks if a value is a boolean.

      // value - the value to check // { any = null } option - if 'strict', also checks JavaScript type if TRUE or FALSE, checks only for that value // { boolean } - true if boolean, false if not

      Parameters

      • value: any
      • option: any = null

      Returns boolean