functional-models
    Preparing search index...

    Function BooleanProperty

    • A property that has a true or false value.

      Parameters

      Returns Readonly<
          {
              createGetter: (
                  value: boolean,
                  modelData: Readonly,
                  modelInstance: ModelInstance<
                      Readonly<{ [s: string]: any }>,
                      object,
                      object,
                  >,
              ) => ValueGetter<boolean, Readonly<{ [s: string]: any }>, object, object>;
              getChoices: () => readonly ChoiceTypes[];
              getConfig: () => object;
              getConstantValue: () => undefined | boolean;
              getDefaultValue: () => undefined | boolean;
              getPropertyType: () => string;
              getValidator: (
                  valueGetter: ValueGetter<
                      boolean,
                      Readonly<{ [s: string]: any }>,
                      object,
                      object,
                  >,
              ) => PropertyValidator<Readonly<{ [s: string]: any }>>;
          },
      >