[F] isOneOf
function isOneOf(program, target): boolean;Check if given type is annotated with @oneOf decorator
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
program | Program |
target | Type |
Returns
Section titled “Returns”boolean
function isOneOf(program, target): boolean;Check if given type is annotated with @oneOf decorator
| Parameter | Type |
|---|---|
program | Program |
target | Type |
boolean