From 146182f55bc83f52f5d8e1b71f540986f8ad1c57 Mon Sep 17 00:00:00 2001 From: Israel-4Ever Date: Thu, 26 May 2022 19:22:21 -0700 Subject: [PATCH] Be more accurate about how brackets work with `list.join()` (#633) Closes #354 --- source/documentation/modules/list.html.md.erb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/source/documentation/modules/list.html.md.erb b/source/documentation/modules/list.html.md.erb index 5a5516785..c7336785e 100644 --- a/source/documentation/modules/list.html.md.erb +++ b/source/documentation/modules/list.html.md.erb @@ -102,9 +102,11 @@ title: sass:list `$list1` if it has a separator, or else `$list2` if it has a separator, or else `space`. Other values aren't allowed. - If `$bracketed` is `true`, the returned list has square brackets. If it's - `false`, the returned list has no brackets. If it's `auto` (the default), the - returned list will be bracketed if `$list1` is. Other values aren't allowed. + If `$bracketed` is `auto` (the default), the returned list will be bracketed + if `$list1` is. Otherwise, the returned list will have square brackets if + `$bracketed` is [truthy] and no brackets if `$bracketed` is falsey. + + [truthy]: /documentation/values/booleans#truthiness-and-falsiness <% example(autogen_css: false) do %> @debug list.join(10px 20px, 30px 40px); // 10px 20px 30px 40px