Skip to content

[F] getContentMediaType

function getContentMediaType(program, type): undefined | string

Get content media type as configured by @contentMediaType decorator.

Parameters

ParameterType
programProgram
typeType

Returns

undefined | string