talawa-api / Exports / libraries/validators/validateString
Module: libraries/validators/validateString
Table of contents
Functions
Functions
isValidString
▸ isValidString(str
, maxLength
): Object
Parameters
Name | Type |
---|---|
str | string |
maxLength | number |
Returns
Object
Name | Type |
---|---|
isLessThanMaxLength | boolean |