You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a feature request for the following validator : isMimeType(str).
This function would check if the passed string matches to a correct MIME type.
Examples :
isMimeType('application/json') returns true
isMimeType('application\json') returns false
isMimeType('application/json/text') returns false
isMimeType('') returns false
isMimeType('json') returns false
By the way I love this lib ! Keep up the good work ! 👍
This is a feature request for the following validator :
isMimeType(str)
.This function would check if the passed string matches to a correct MIME type.
Examples :
isMimeType('application/json')
returnstrue
isMimeType('application\json')
returnsfalse
isMimeType('application/json/text')
returnsfalse
isMimeType('')
returnsfalse
isMimeType('json')
returnsfalse
By the way I love this lib ! Keep up the good work ! 👍
EDIT : Submitted a PR (#760)
The text was updated successfully, but these errors were encountered: