SelectableOptionArray::hasTitle()

Is the given title present in these selectable options?

Usage

$selectableOption = $selectableOptionArray->hasTitle(string $title);

Arguments

NameType(s)Description
$titlestring

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.253