From 99db9827412f93e5f2d74eb86f6a25cd214823ae Mon Sep 17 00:00:00 2001 From: Helen Campbell Date: Mon, 9 Nov 2015 15:14:34 +0000 Subject: pick_default addition to readme --- README.markdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.markdown b/README.markdown index 57a62b6..9ff242c 100644 --- a/README.markdown +++ b/README.markdown @@ -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. -- cgit v1.2.3