MCPcopy Create free account
hub / github.com/omkarcloud/botasaurus / isValidPositiveInteger

Function isValidPositiveInteger

js/botasaurus-server-js/src/validation.ts:180–182  ·  view source on GitHub ↗
(param: any)

Source from the content-addressed store, hash-verified

178}
179
180export function isValidPositiveInteger(param: any): boolean {
181 return typeof param === 'number' && Number.isInteger(param) && param > 0;
182}
183
184export function isInteger(param: any): boolean {
185 return typeof param === 'number' && Number.isInteger(param);

Callers 4

executeGetTasksFunction · 0.90
executeGetUiTasksFunction · 0.90
executePatchTaskFunction · 0.90
validateResultsRequestFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected