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