Skip to content

[F] getExtensions

function getExtensions(program, entity): ReadonlyMap<ExtensionKey, any>

Get extensions set for the given type.

Parameters

ParameterTypeDescription
programProgramProgram
entityTypeType

Returns

ReadonlyMap<ExtensionKey, any>