$props->type()
Returns the type of value that the prop accepts. A setter may accept more types than the property itself.
$props->type(string $name): string|null
Parameters
| Name | Type | Default |
|---|---|---|
| $namerequired | string |
no default value |
Return types
stringornull