reflection
reflection copied to clipboard
Fix ability to define falsy value
There is multiple places in the code where a truthy check is made against the metadata value to check if the metadata is defined. It is problematic when the metadata value is a falsy value like number 0 or boolean false. So I replaced those checks with explicit checks against undefined. I don't see any case where it would not be the right thing to do.