Hi,
Our data format could be:
data: {
test1: {
test2: 'test'
}
}
To show the value of property ‘test2’, we set the data
to test1.test2
.
However, the above data could be
data: {
test1: null
}
And, in this case, the getProperty
throws the error because data.test1
is null.
Can getProperty
return false in case the value is null as well?