Skip to content

Kirby 4.4.1

A::wrap()

Wraps the given value in an array if it's not an array yet.

A::wrap($array = null): array

Parameters

Name Type Default
$array mixed null

Return type

array

Parent class

Kirby\Toolkit\A