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

Function isStringOfMinLength

js/botasaurus-server-js/src/validation.ts:74–76  ·  view source on GitHub ↗
(data: any, minLength = 1)

Source from the content-addressed store, hash-verified

72}
73
74export function isStringOfMinLength(data: any, minLength = 1): boolean {
75 return typeof data === 'string' && data.length >= minLength;
76}
77
78
79export function isStringOfAtLeast1Len(data: any): boolean {

Callers 4

executeIsTaskUpdatedFunction · 0.90
validateViewFunction · 0.85
validateSortFunction · 0.85
validateDownloadParamsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected