Skip to content

[F] isAttribute

function isAttribute(program, target): boolean

Check if the given property should be serialized as an attribute instead of a node.

Parameters

ParameterType
programProgram
targetModelProperty

Returns

boolean