Was this page helpful?

List.Random

    Table of contents
    1. 1. Usage Restrictions
    2. 2. Parameters
    3. 3. Result
    4. 4. Samples
    List.Random(list : list) : any

    Get a random item from the list.

    Usage Restrictions

    9.02 or later.

    Parameters

    Name Type Description
    list list list value

    Result

    A single value randomly picked from the input list

    Samples

       Output

    Get a random value from the list:

    {{list.random(["a","b","c"])}}  

    c

    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by