validateImageFileSize
talawa-api / setup/setImageUploadSize / validateImageFileSize
Function: validateImageFileSize()
> validateImageFileSize(size
): boolean
The function validates whether a given image size is less than 20 and greater than 0.
Parameters
size
number
Returns
boolean
a boolean value.