WireRandom::arrayValue() method
Get a random value from given array
Usage
$mixed = $rand->arrayValue(array $a);Arguments
| Name | Type(s) | Description |
|---|---|---|
$a | array | Array to get random value from |
Return value
mixed null
API reference based on ProcessWire core version 3.0.257