isChunks

Checks if T is Chunks type.

Members

Manifest constants

isChunks
enum isChunks;
Undocumented in source.
isChunks
enum isChunks;
Undocumented in source.

Return Value

array of dimension indices.

Examples

import mir.ndslice.chunks: chunks, isChunks;
import mir.ndslice.topology: iota;

static assert(isChunks!int == null);
static assert(isChunks!(typeof(iota(20, 30).chunks!(1, 0)(3, 7))) == [1, 0]);

Meta