-
!! operator in vue components
!! operator (double negation) transforms values into boolean values. This ’!!’ operator converts any value to TRUE if it’s „truthy„, meaning it’s not a falsy value (such as false, 0, empty value, null, undefined, NaN), otherwise it converts to FALSE. !! operator examples : For example, if you have a variable myVar, and you want to check if it’s „truthy” or „falsy”, you can do it using the !! operator like this: Another example is when the !! operator helps to validate any optional variables. Somethimes we really have no idea what we will get, this can vent some issues if we need to check for a truthy or falsy…
-
How to set empty array in dijon using scala
There is a simple method that allows to set empty array in dijon and You will not find it on the main page of dijon repository. dijon.`[]` This is actually a byte array in the end. Oh… and remember that jsoniter will by default remove the empty variables on any kind of DTO when serializing …



