Methods
-
<static> alphaNumeric()
-
alphaNumeric
-
<static> arrayElement(array)
-
takes an array and returns a random element of the array
Parameters:
Name Type Description arrayarray -
<static> boolean()
-
boolean
-
<static> image()
-
locale
-
<static> locale()
-
locale
-
<static> number(options)
-
returns a single random number based on a max number or range
Parameters:
Name Type Description optionsmixed -
<static> objectElement(object, field)
-
takes an object and returns the randomly key or value
Parameters:
Name Type Description objectobject fieldmixed -
<static> uuid()
-
uuid
-
<static> word(type)
-
word
Parameters:
Name Type Description typestring -
<static> words(count)
-
randomWords
Parameters:
Name Type Description countnumber defaults to a random value between 1 and 3