[F] getClientDefaultValue
function getClientDefaultValue(context, entity): string | boolean | Numeric | undefined;Get the client-level default value for a model property.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
context | TCGCContext | TCGCContext |
entity | ModelProperty | ModelProperty to check for clientDefaultValue decorator |
Returns
Section titled “Returns”string | boolean | Numeric | undefined
The client-level default value if decorator is applied, undefined otherwise.