Skip to content

[F] getContentEncoding

function getContentEncoding(program, type): undefined | string

Get content encoding as configured by @contentEncoding decorator.

Parameters

ParameterType
programProgram
typeType

Returns

undefined | string