[F] isAttribute
function isAttribute(program, target): boolean;
Check if the given property should be serialized as an attribute instead of a node.
Parameters
Section titled “Parameters”Parameter | Type |
---|---|
program | Program |
target | ModelProperty |
Returns
Section titled “Returns”boolean