SelectableOptionArray::hasValue()
Is the given value present in these selectable options?
Usage
$selectableOption = $selectableOptionArray->hasValue(string $value);Arguments
| Name | Type(s) | Description |
|---|---|---|
$value | string |
Return value
SelectableOption boolReturns SelectableOption if found, or boolean false if not
SelectableOptionArray methods and properties
API reference based on ProcessWire core version 3.0.253