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