You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the data is not of a list type, it is coerced into a list as follows: if the data is truthy (e.g. !!data == true), use a single-element list containing the data, otherwise use an empty list.
The documentation should be more clear that the inverted section uses falsy. Personally I was confused when a value of 0 was triggering the inverted section (I read the docs thinking "is" is like ===).
The text was updated successfully, but these errors were encountered:
The documentation (here and here) explains:
But the spec says
(From issue #186)
The documentation should be more clear that the inverted section uses falsy. Personally I was confused when a value of
0
was triggering the inverted section (I read the docs thinking "is" is like===
).The text was updated successfully, but these errors were encountered: