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
Seems like isboolean is oddly missing from the type-guard functions. Would be a nice addition if we want to write mixin or selector guards that should only accept 'real' boolean values instead of anything that Less deems what is in JS-parlance 'truthy' or 'falsy'.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Seems like
isboolean
is oddly missing from the type-guard functions. Would be a nice addition if we want to write mixin or selector guards that should only accept 'real' boolean values instead of anything that Less deems what is in JS-parlance 'truthy' or 'falsy'.Beta Was this translation helpful? Give feedback.
All reactions