```lua local stat ---@type { size: integer }? if math.random() > 0.5 then elseif not stat then elseif stat.size > 0 then end ``` ``` Diagnostics: 1. stat may be nil [need-check-nil] ```