Skip to content

Commit 61333cf

Browse files
committed
Merge pull request #544 from HelenCampbell/readmeaddition
pick_default addition to readme
2 parents 5d8a5ac + 99db982 commit 61333cf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.markdown

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -624,6 +624,10 @@ From a list of values, returns the first value that is not undefined or an empty
624624

625625
*Type*: rvalue.
626626

627+
#### `pick_default`
628+
629+
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.
630+
627631
#### `prefix`
628632

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

0 commit comments

Comments
 (0)