dotnet / dotnet/vblang

Proposal: Try ... Else Try

Open
#435 11 comments 4 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
328
Forks
71
PR merge metrics
No merged PRs in 30d

Description

```vb
Public Function GRTZ(Obj As Object) As Boolean
Try
Return CType(Obj, Integer) > 0
Else Try
Return CType(Obj, Box).Width > 0
Catch ex() As Exception
Return False
End Try
End Function
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.