@servicenow/sdk - v4.4.1
    Preparing search index...

    Type Alias CheckboxVariableType<Type, Default>

    CheckboxVariableType: BaseVariableConfig<Type, Default> & (
        | { hidden?: false; readOnly?: false; selectionRequired: true }
        | { hidden?: boolean; readOnly?: boolean; selectionRequired?: false }
    )

    Configuration type for checkbox variables Note: selectionRequired cannot be true when hidden or readOnly is true, and vice versa

    Type Parameters

    • Type extends boolean = boolean
    • Default extends Type = Type

    Type Declaration

    • { hidden?: false; readOnly?: false; selectionRequired: true }
      • Optionalhidden?: false

        Indicates whether the field is hidden (cannot be true when selectionRequired is true)

      • OptionalreadOnly?: false

        Indicates whether the field is read-only (cannot be true when selectionRequired is true)

      • selectionRequired: true

        Indicates whether the checkbox must be selected (cannot be true when hidden or readOnly is true)

    • { hidden?: boolean; readOnly?: boolean; selectionRequired?: false }
      • Optionalhidden?: boolean

        Indicates whether the field is hidden

      • OptionalreadOnly?: boolean

        Indicates whether the field is read-only

      • OptionalselectionRequired?: false

        Indicates whether the checkbox must be selected (cannot be true when hidden or readOnly is true)