Skip to content

Kirby 4.4.1

A::sum()

Sums an array

A::sum(array $array): int|float

Parameters

Name Type Default
$array * array

Return type

int|float

Parent class

Kirby\Toolkit\A