WireArray::first()
Returns the first item in the WireArray or boolean false if empty.
Note that this resets the internal WireArray pointer, which would affect other active iterations.
Example
$item = $items->first();Usage
$wire = $wireArray->first();Return value
Wire mixed bool
WireArray methods and properties
API reference based on ProcessWire core version 3.0.252