DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript check if is image
function isFileImage(file) { return file && file['type'].split('/')[0] === 'image'; }
Source by roufid.com #
PREVIOUS
NEXT
Tagged:
#javascript
#check
#image
ADD COMMENT
Topic
COMMENT
Name
9+3 =
Submit