f::type($file)

Categorize the file

  • $file (string)
    Either the file path or extension
  • return (string)