Skip to content

Kirby 4.4.1

Str::toType()

Convert the string to the given type

Str::toType($string, $type)

Parameters

Name Type Default
$string * mixed
$type * mixed

Parent class

Kirby\Toolkit\Str