Str::toType() Convert the string to the given type kirby/src/Toolkit/Str.php#L1053 Str::toType(string $string, mixed $type): mixed Parameters Name Type Default $string * string – $type * mixed – Return type mixed Parent class Kirby\Toolkit\Str