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