in reply to Re^4: How do I determine if a variable contains a type glob?
in thread How do I determine if a variable contains a type glob?
But, why?
That code was typed straight into the web page and not tested. In general if you have an isItSomething() routine returning a bool, you don't want it to produce any warnings, just return false if what you've been passed isn't what you're testing for.
The fact that there appears to be nothing you can give to ref that produces a warning means it is probably redundant.
|
---|