function getResourceBaseType(program, resource): ResourceBaseType
program
Program
resource
Model
ResourceBaseType