is-timestamp
Checks if a value is a timestamp
Install
$ npm install is-timestamp
Usage
const isTimestamp = // => true // => true // => true // => false (because strict mode on) // => false
Notes
This module works by default for both integers and strings. If you only want to use integers, use the strict mode:
// => false
License
MIT © François Chalifour