WireRandom::arrayValue()

Get a random value from given array

Usage

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

Arguments

NameType(s)Description
$aarray

Array to get random value from

Return value

mixed null


WireRandom methods and properties

API reference based on ProcessWire core version 3.0.251