Why does null not equal null here?

  • needtheanswers-1373682836636303360

    needtheanswers

    14 days ago

    I have this formula that seems to return null but when I compare it to null by using Equal it returns false. I even used TypeOf to check if the type is actually null and it is. Based on Nordcraft AI an empty array is not compareable to null ( it is recommended to use Size in this case). But even if I use Size it doesn´t return 0 but null. Can anyone help?
    1373682836904607785-image.png
  • lucasg-1373683523529212015

    Lucas G

    14 days ago

    Undefined does not equal null
  • needtheanswers-1373684235927293983

    needtheanswers

    14 days ago

    What can I compare undefined to? The only "solution" I´ve found is to use TypeOf, let it return the word Null and then compare it to Null
  • lucasg-1373684530707435541

    Lucas G

    14 days ago

    Default to null then compare to null
  • Undefined basically means the thing doesn’t exist so you can’t compare it to anything
  • needtheanswers-1373684795376406628

    needtheanswers

    14 days ago

    That makes sense! Thank you @Lucas G 🙏
  • lucasg-1373685850403110994

    Lucas G

    14 days ago

    Separate from your question but I think you can consolidate the first 3 nodes into a single Get
  • needtheanswers-1373687761290268722

    needtheanswers

    14 days ago

    Yea that´s what I did intially but I was struggling because null (now I know it was undefined) did not equal null so I built everything again following AI´s instructions but now I´m using my old formula again. But thanks for your advice 👍
  • andreasmoller-1374017725663412324

    Andreas Møller

    13 days ago

    That is a bug on our end though. Ill make a ticket
  • lucasg-1374017806076743842

    Lucas G

    13 days ago

    It is?
  • lucasg-1374018042698403973

    Lucas G

    13 days ago

    Does that mean that undefined will default to null in the future?
  • needtheanswers-1374018225712398346

    needtheanswers

    13 days ago

    Oh, interesting. Thanks for looking into it!
  • lucasg-1374019019866378390

    Lucas G

    13 days ago

    Well I can sort of see what he means but not sure which part he’s referring to as a bug.

    The fact that type of and the equal nodes show it as null instead of undefined is a bug
  • But undefined still does not equal null
  • lucasg-1374019395390537840

    Lucas G

    13 days ago

    I wouldn’t think they’re doing away with undefined
  • needtheanswers-1374020497263689830

    needtheanswers

    13 days ago

    Right, I´m gonna stick with what you suggested (using default to null) because this should work either way but let´s see
  • jehex-1374581196771561472

    Jehex

    11 days ago

    bug still not fixed right ? " default to " then isequal to null working btw, thanks lucas
  • lucasg-1374583244879827065

    Lucas G

    11 days ago

    Undefined not being equal to null shouldn’t be a bug. That’s how it should be.
    I think the bug is related to how it shows null vs undefined types
  • andreasmoller-1374602451789021266

    Andreas Møller

    11 days ago

    It is because we don’t not intend to have “undefined” in Nordcraft
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1
    ❤️1