$media->is($value)

Checks if a file is of a certain type

  • $value (string)
    An extension or mime type
  • return (boolean)

Is something missing or incorrect? Edit this page on Github…