A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pmd/pmd/issues/1115 below:

GitHub ยท Where software is built

The typeof function currently uses three arguments that appear to be quite redundant (and are not documented other than a single example). The documentation is outdated too, mentioning that only ClassOrInterfaceType is supported

What I gather is

I think we could create a new function (for compatibility), e.g. typeIs (this name seems clearer anyway since it returns a boolean), that you could call like:

//ClassOrInterfaceType[typeIs('java.lang.StringBuilder')]

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4