f::extensionToType($extension)

Returns the file type for a passed extension

  • $extension (string)
  • return (string)