Criada a API do site
This commit is contained in:
5
node_modules/is-what/dist/isPositiveInteger.js
generated
vendored
Normal file
5
node_modules/is-what/dist/isPositiveInteger.js
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user