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