Sanity check: pithiest test for static if: "is an array of ubyte"

just say no to phobos brainrot confidential at example.com
Sat May 24 21:21:42 UTC 2025


On Saturday, 24 May 2025 at 20:29:52 UTC, Andy Valencia wrote:
> The best I"ve come up with for a "static if" to see if 
> something's an array of ubyte:

is(typeof(arg) == ubyte[])





More information about the Digitalmars-d-learn mailing list