Skip to content

Kirby 6.0.0

F::size()

Returns the size of a file or an array of files

F::size(array|string $file): int

Parameters

Name Type Default Description
$filerequired arrayorstring no default value File path or array of paths

Return type

int

Parent class

Kirby\Filesystem\F