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