How can I check if an element is iterable?

Marcone marcone at email.com
Sun May 3 20:54:17 UTC 2020


On Sunday, 3 May 2020 at 20:46:30 UTC, Adam D. Ruppe wrote:
> On Sunday, 3 May 2020 at 20:21:24 UTC, Marcone wrote:
>> How can I check if a variable is iterable?
>
> Every variable has a type. You can get it with typeof(varaiable)

I need in runtime.


More information about the Digitalmars-d-learn mailing list