typs.js
// checks if obj is an integer
checks if obj is an integer
checks if obj is an integer
integer () {
		return this.number().add((obj) => {
			return parseInt(obj) === obj
		});
	}
integer ( ) { return this . number ( ) . add ( ( obj ) => { return parseInt ( obj ) === obj } ) ; }
checks if obj is an integer
checks if obj is an integer