Closed Eswcvlad closed 7 months ago
Somewhat unexpected results...
notNull("", "A")
null
notNull(`false`, "A")
Cannot really use this shorthand for notNull, as false || null will be null. https://github.com/adobe/json-formula/blob/8b880fb45586a6967db7365aae132c3cc889643f/src/functions.js#L1154
notNull
false || null
Somewhat unexpected results...
notNull("", "A")
|null
notNull(`false`, "A")
|null
Cannot really use this shorthand for
notNull
, asfalse || null
will benull
. https://github.com/adobe/json-formula/blob/8b880fb45586a6967db7365aae132c3cc889643f/src/functions.js#L1154