On Saturday, 21 November 2020 at 00:51:30 UTC, Dibyendu Majumdar wrote: > pragma(msg, typeof(&fun).stringof); If fun is nested it will be a delegate. Only if top-level or static will it be function.