Files
manja_ui_dev/node_modules/is-what/dist/isPositiveInteger.js
T
sean d26db06f74
NPM Installation / build (16.x, ubuntu-latest) (push) Has been cancelled
NPM Installation / build (16.x, windows-latest) (push) Has been cancelled
NPM Installation / build (17.x, ubuntu-latest) (push) Has been cancelled
NPM Installation / build (17.x, windows-latest) (push) Has been cancelled
NPM Installation / build (18.x, ubuntu-latest) (push) Has been cancelled
NPM Installation / build (18.x, windows-latest) (push) Has been cancelled
all data hide
2026-06-25 09:44:52 +07:00

6 lines
206 B
JavaScript

import { isInteger } from './isInteger.js';
/** Returns whether the payload is a positive Integer (but not 0) */
export function isPositiveInteger(payload) {
return isInteger(payload) && payload > 0;
}