How to achieve custom type narrowing in if block ? #1574
Unanswered
xiangnanscu
asked this question in
Q&A
Replies: 1 comment
-
You can use if something then
---@cast row sql
print(row)
end |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Beta Was this translation helpful? Give feedback.
All reactions