Skip to main content
February 27, 2024
Solved

Issue with a!isNullOrEmpty() function

  • February 27, 2024
  • 2 replies
  • 0 views

Hi All, I have noticed this behavior when we are passing list of nulls to a!isNullorEmpty it returns false. I know there are ways we can handle this but is this something fundamentally wrong with this function or not. (I know it is hundred times better than isnull() but still curious) 

Best answer by stefanhelzle0001

It just does not cover all the edge cases.

https://appian.rocks/2022/10/17/the-magic-of-null-checking/

2 replies

stefanhelzle0001
Brainy
February 27, 2024

It just does not cover all the edge cases.

https://appian.rocks/2022/10/17/the-magic-of-null-checking/

mikes0011
Brainy
February 27, 2024

This is because "list of nulls" is a corner case which would not always be considered "blank" - it could go either way depending on certain assumptions being made.

The Expression Guru