I know... But is comming: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isInteger

Too bad is not supported in Brackets yet :(