Skip to content

Kirby 4.5.0

Helpers::size()

Determines the size/length of numbers, strings, arrays and countable objects

Helpers::size(mixed $value): int

Parameters

Name Type Default
$value * mixed

Return type

int

Exceptions

Parent class

Kirby\Cms\Helpers