mirror of
https://github.com/mivodev/mivodev.github.io.git
synced 2026-01-26 13:32:07 +07:00
6 lines
206 B
JavaScript
6 lines
206 B
JavaScript
import { isInteger } from './isInteger.js';
|
|
/** Returns whether the payload is a negative Integer (but not 0) */
|
|
export function isNegativeInteger(payload) {
|
|
return isInteger(payload) && payload < 0;
|
|
}
|