node-telegram-api/lib/utils.js

4 lines
74 B
JavaScript
Raw Normal View History

2015-06-26 17:20:54 +00:00
export function isNumber(string) {
return !isNaN(parseFloat(string));
}