Helpers::size()
Determines the size/length of numbers, strings, arrays and countable objects
Parameters
Name | Type | Default |
---|---|---|
$value * | mixed |
– |
Return type
int
Exceptions
Type | Description |
---|---|
Kirby\Exception\InvalidArgumentException |
Determines the size/length of numbers, strings, arrays and countable objects
Name | Type | Default |
---|---|---|
$value * | mixed |
– |
int
Type | Description |
---|---|
Kirby\Exception\InvalidArgumentException |