Str::toType()
Convert the string to the given type
Str::toType($string, $type)
Parameters
Name | Type | Default |
---|---|---|
$string * | mixed |
– |
$type * | mixed |
– |
Convert the string to the given type
Str::toType($string, $type)
Name | Type | Default |
---|---|---|
$string * | mixed |
– |
$type * | mixed |
– |