On Wednesday, 10 April 2019 at 19:29:13 UTC, Alex wrote:
I wonder if there are some interesting patterns of nesting is's?

is(...is(...is(...)...)...)

No, at least not like that. You'd get nothing out of it, even if you made it work.

But, I have in the past nested static ifs with different is things in order to handle very complex patterns that are difficult to express in one.

I can't remember what those are right now though... but if one level fails, you might do

static if(is( something ))
  static if(is( details )) {

  }

to drill down. But while I know I have done this before, it is rare enough that I cannot recall it!

Reply via email to