Or even better: `enum sliceable = …` – unless I missed something, the code is not specific to arrays at all.