ProtoTwin API
    Preparing search index...

    Function RequiredArray

    • Property decorator that specifies that the property value is an array.

      Type Parameters

      • T

      Parameters

      Returns PropertyDecorator

      The property decorator instance.

      This is automatically applied by the script editor to (non-nullable) array properties, informing the inspector of the type of the array elements. Do NOT explicitly add this decorator to properties.