WireRandom::arrayValue() method

Get a random value from given array

Usage

$mixed = $rand->arrayValue(array $a);

Arguments

NameType(s)Description
$aarray

Array to get random value from

Return value

mixed null


$rand methods and properties

API reference based on ProcessWire core version 3.0.257