function getDeprecated(program, type): undefined | string
Return the deprecated message or undefined if not deprecated
program
Program
type
Type
undefined | string
undefined
string