functional-models
    Preparing search index...

    Function ArrayProperty

    • A property that has an array of sub values.

      Type Parameters

      Parameters

      • config: {} = {}
      • additionalMetadata: {} = {}

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