ConfigPropertyMetaInput: {
    failedMessage: string | ((value) => string);
    validator: ((value) => boolean);
}

Config property input validation

Type declaration

  • failedMessage: string | ((value) => string)

    The message to return in the error if the validation fails.

  • validator: ((value) => boolean)

    Tests if the input value is valid and returns true if the input data is valid.

      • (value): boolean
      • Parameters

        Returns boolean