Skip to content
/ isfile Public

πŸ“ A module to check if File object is from a specific format type

License

Notifications You must be signed in to change notification settings

nltncsr/isfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

isFile

Single module to check if file is of a determined type, based on its MIME type

Usage

isFile(fileobject).[VERIFIER_METHOD]

Check if failObject is an file of a specific type, returning true or false.

Available Verifier Methods

  • .anImage()
  • .anAudio()
  • .aMP3()
  • .aVideo()
  • .aMP4()
  • .multimedia()
  • .aPDF()
  • .aSpreadsheet()

About

πŸ“ A module to check if File object is from a specific format type

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published