0

I thought resource.data.someProperty != null will be true when someProperty does not exist in the resource document but it seems not.

I tried resource.data.someProperty != undefined but it throws Null value error when testing with the simulator.

How exactly do I do that, and where is it documented? I am having trouble learning the security rules through reading the official references & guides.

czphilip
  • 897
  • 1
  • 8
  • 18

0 Answers0