How can I check if an element is iterable?

Adam D. Ruppe destructionator at gmail.com
Sun May 3 20:46:30 UTC 2020


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)


More information about the Digitalmars-d-learn mailing list