zigar.image.Any(acc).getField(self, format) ᴾᴴᴾ - chung-leong/zigar GitHub Wiki
JavaScript | PHP
Return the union field corresponding to format.
Arguments:
self:@This()format: Format
Return value:
format.Type(acc)
Note:
This function is simply a shorthand for @field(self, @tagName(format)).