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