Was this page helpful?

Map.KeyValues

    Table of contents
    1. 1. Usage Restrictions
    2. 2. Parameters
    3. 3. Result
    4. 4. Samples
    map.KeyValues( map : map ) : list
    

    Create a list of the key-value pairs.

    Usage Restrictions

    1.9.1 or later

    Parameters

    Name Type Description
    map map map value

    Result

    A list of the key-value pairs extracted from the map.

    Samples

                     Output

    get the list of key-value pairs:

    {{  map.keyvalues({one:1, two:"cat", three:true})  }}  

                    

    [ { key : "three", value : True }, { key : "one", value : 1 }, { key : "two", value : "cat" } ]

                    

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

    Copyright © 2011 MindTouch, Inc. Powered by