❌ Kirby 2 no longer actively supported. Migrate to a current version and
upgrade your v2 license now
.
$media->is($value)
Checks if a file is of a certain type
$value
(string)
An extension or mime type
return
(boolean)
↑
Toolkit API overview
←
$media->imagesize()
→
$media->isExecutable()
↓
Back to Toolkit API section
Top