menu 8 Menu Overview F::dirname() Just an alternative for dirname() to stay consistent F::dirname(string $file): string Parameters Name Type Default Description $file string – The path Return type string Source code kirby/src/Toolkit/F.php#L171