function.predicates - added isInteger

Checks if an object is an integer or can be parsed as one.