val(String xpath,String text)

This is essentially a wrapper around jquery() command.

Following two commands are doing exactly same:

hat.text(".some .xpath input","test@test.com");
hat.jquery(".some .xpath",function(el) { el.val("test@test.com")});