code: function krillPrimValidateTypes(fieldtypes, pred)
  {
  	var func = function (ent, key) {
  	    return (krillPrimValidateFieldType(fieldtypes, ent, key));
  	};
  
  	krillPrimWalk(func, pred);
  }
docs: /*
  Validates the semantic properties of the predicate. This includes making sure
  that every field is valid for the predicate and the values present match the
  expected type.