Skip to content

Kirby 4.5.0

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