Skip to content

Commit

Permalink
Merge pull request CloudSlang#169 from CloudSlang/function_enhancements
Browse files Browse the repository at this point in the history
added get without default value
  • Loading branch information
Bonczidai Levente committed Apr 15, 2016
2 parents 4acc811 + a8775d5 commit 487d531
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cloudslang_dsl_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -983,6 +983,10 @@ May appear in the value of an `input <#inputs>`__,
`expression <#expressions>`__ or `result <#results>`__
`expression <#expressions>`__.

The function in the form of ``get('key')`` returns the value associated with
``key`` if the key is defined. If the key is undefined the function returns
``None``.

The function in the form of ``get('key', 'default_value')`` returns the
value associated with ``key`` if the key is defined and its value is not
``None``. If the key is undefined or its value is ``None`` the function
Expand Down

0 comments on commit 487d531

Please sign in to comment.