[F] getOneOf
function getOneOf(program, entity): boolean;Looks up the @oneOf marker on this exact target; test its truthiness when choosing union composition.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
program | Program |
entity | Type |
Returns
Section titled “Returns”boolean