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
I have seen many contributions on the topic of "undefined variable", very many and I can not believe that this basic logical evaluation of jv Less is not yet. It is in every programming language as a basis as well as bool, number, string, etc.
Please do not discuss this and do it for the developer community, which will be very helpful.
There are too many requests for this to be ignored.
I've spent a huge amount of time bypassing this, and I still don't have the perfect solution. All other workarounds are bad. I used to like Less, but more and more a developers are leaving some similarly restrictive technology because they have to make too many bad workarounds, which are much more expensive than switching to something else and the technology dies.
It is a very small requirement and small modification, but long reach.
Thank you
The text was updated successfully, but these errors were encountered:
@applibs On second thought, with some recent changes to function evaluation, a function like this is fairly trivial.
I've added it here and plan to release with 4.0, unless there's any objections.
Note: Less's convention for is functions is to verify if is[thing] is true, therefore it's added as isdefined, rather than isundefined, which is a true of the negative.
Uh oh!
There was an error while loading. Please reload this page.
I have seen many contributions on the topic of "undefined variable", very many and I can not believe that this basic logical evaluation of jv Less is not yet. It is in every programming language as a basis as well as bool, number, string, etc.
Please do not discuss this and do it for the developer community, which will be very helpful.
There are too many requests for this to be ignored.
I've spent a huge amount of time bypassing this, and I still don't have the perfect solution. All other workarounds are bad. I used to like Less, but more and more a developers are leaving some similarly restrictive technology because they have to make too many bad workarounds, which are much more expensive than switching to something else and the technology dies.
It is a very small requirement and small modification, but long reach.
Thank you
The text was updated successfully, but these errors were encountered: