Added isInteger check.
release 0.0.7