Was this page helpful?

Map.Keys

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

    Get the list of keys of a map.

    Usage Restrictions

    1.9.1 or later

    Parameters

    Name Type Description
    map map The map value.

     

    Result

    a list that has all the keys in the map.

    Samples

      Output

    to get a list of a map's keys:

    {{map.keys({one:1 , two: "hi", three: true}) }} 

     

    [ "three", "one", "two" ]

     

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

    Copyright © 2011 MindTouch, Inc. Powered by