server/sync_type.js
function typeFunc(bindings){
		var v = paramFunc(bindings)
		if(v !== undefined){
			var typeCode = s.objectState.getObjectType(v)
			return s.schema._byCode[typeCode].name
		}
	}
function typeFunc(bindings){
		var v = paramFunc(bindings)
		if(v !== undefined){
			var typeCode = s.objectState.getObjectType(v)
			return s.schema._byCode[typeCode].name
		}
	}
/*else{
if(resultObjSchema){
console.log('could be: ' + JSON.stringify(resultObjSchema.subTypes))
}else{
console.log('any *: ' + JSON.stringify(paramFunc.resultType))
}
}