Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
frewsxcv
· 6y ago · 0 comments
If something is untyped in Sorbet, you can give it a type with `T.let`. So if the return value of function `foo` is untyped, but you have a high degree of confidence that it will return a `String`, you can do `ret = T.let(foo, String)`
Comments
No comments yet.
Better HN