[docs] GN can tell empty lists from non empty lists Change-Id: Id5f067f94f853d45602331d4d86852061f1a5163 Reviewed-on: https://gn-review.googlesource.com/c/gn/+/5400 Reviewed-by: Brett Wilson <brettw@google.com> Commit-Queue: Brett Wilson <brettw@google.com>
diff --git a/docs/language.md b/docs/language.md index dcc6c9e..16cb2a4 100644 --- a/docs/language.md +++ b/docs/language.md
@@ -95,9 +95,9 @@ ### Lists -There is no way to get the length of a list. If you find yourself -wanting to do this kind of thing, you're trying to do too much work in -the build. +Aside from telling empty lists from non empty lists (`a == []`), there is no +way to get the length of a list. If you find yourself wanting to do this kind +of thing, you're trying to do too much work in the build. Lists support appending: