Member Junction
    Preparing search index...

    Function ValidatePropertyDefault

    • Checks a property default against the property's type, as when the definition is saved.

      Parameters

      • def: PropertyDefault
      • type: "string" | "number" | "boolean" | "date" | "uuid"

      Returns string[]

      the problems found; empty when the default is valid