ProtoTwin API
    Preparing search index...

    Function OptionalArray

    • Property decorator that specifies that the property value is an optional (nullable) array.

      Type Parameters

      • T

      Parameters

      Returns PropertyDecorator

      The property decorator instance.

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