$props->has()
Checks if the class has a prop with the given name
$props->has(string $name): bool
Parameters
| Name | Type | Default |
|---|---|---|
| $namerequired | string |
no default value |
Return type
bool
Checks if the class has a prop with the given name
$props->has(string $name): bool
| Name | Type | Default |
|---|---|---|
| $namerequired | string |
no default value |
bool