code: function getType(instance) {
      return instance.static.type === consts_1.DEFAULT_TYPE
          ? getProp(instance, instance.static.typeAttribute)
          : instance.static.type;
  }
docs: Get the dynamic/static model type
  
  @private
  @param {IModel} instance - Model instance
  @returns Model instance type