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