Files
2026-11-04 14:22:20 +08:00

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;
}