[F] isJsonSchemaDeclaration
function isJsonSchemaDeclaration(program, target): boolean;Check if the given type is annoted with @jsonSchema or within a container annoted with @jsonSchema.
Parameters
Section titled “Parameters”| Parameter | Type | Description | 
|---|---|---|
| program | Program | TypeSpec program | 
| target | JsonSchemaDeclaration | Type | 
Returns
Section titled “Returns”boolean