ValidateAssetFileTypeUseCase
interface ValidateAssetFileTypeUseCase
Returns true if the file extension is present in file name and is allowed and false otherwise.
Parameters
fileName
the file name (with extension) to validate.
allowedExtension
the list of allowed extension.