Skip to content

Commit

Permalink
pick_default addition to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Helen Campbell committed Nov 9, 2015
1 parent 5d8a5ac commit 99db982
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,10 @@ From a list of values, returns the first value that is not undefined or an empty

*Type*: rvalue.

#### `pick_default`

Will return the first value in a list of values. Contrary to the 'pick()' function, the 'pick_default()' does not fail if all arguments are empty. This allows it to use an empty value as default. *Type*: rvalue.

#### `prefix`

Applies a prefix to all elements in an array, or to the keys in a hash.
Expand Down

0 comments on commit 99db982

Please sign in to comment.