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