Merge pull request #1465 from ap29600/reflect_is_nil_fix

Fix logic in `is_nil` procedure
This commit is contained in:
gingerBill
2022-02-02 19:36:25 +00:00
committed by GitHub

View File

@@ -234,7 +234,7 @@ is_nil :: proc(v: any) -> bool {
return true
}
data := as_bytes(v)
if data != nil {
if data == nil {
return true
}
for v in data {