bdw429s
10/07/2022, 6:15 PMstructure
parameter to the structKeyExsists()
function as expecting
Name of structure to test.But surely that is wrong. The name of a structure would be a string like
structKeyExists( "someStruct", "keyName" )
but that is incorrect as the first param expects the actual struct!
structKeyExists( someStruct, "keyName" )
bdw429s
10/07/2022, 6:17 PMstructure
argument allows null
even though the docs don't define this.
structKeyExists( javaCast("null",""), "key" )
Lucee Server throws an exception
null can not be casted to a Struct
which is what I'd expect here. I'm entering a ticket for that.bdw429s
10/07/2022, 6:19 PMAdam Cameron
saghosh
10/10/2022, 4:54 AMMark Takata (Adobe)
10/10/2022, 6:06 PMAdam Cameron
Mark Takata (Adobe)
10/10/2022, 6:51 PMScott Steinbeck
10/10/2022, 7:32 PMhttps://media.tenor.com/C7BweO_X39sAAAAC/aladdin-animated.gif▾