Skip to content

[F] $field

function $field(
context,
target,
index): void

Decorate a model property with a field index. Field indices are required for all fields of emitted messages.

Parameters

ParameterTypeDescription
contextDecoratorContext-
targetModelProperty
indexnumber-

Returns

void