maxSize
Creates a validation functions that validates the file size.
const validate = maxSize(requirement, error);
Parameters
requirement
number
error
string
Return
validate
QRL<
(value:
>MaybeValue<
) =>File |
>File
[]string
Creates a validation functions that validates the file size.
const validate = maxSize(requirement, error);
requirement
number
error
string
validate
QRL<(value: MaybeValue<File | File
[]
>
) => string
>