Kirby 2 Docs
❌ Kirby 2 has reached its end of life. 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