isConvertibleToSlice

Check if toConst function can be called with type T.

enum isConvertibleToSlice (
T
)

Examples

import mir.series: SeriesMap;
static assert(isConvertibleToSlice!(immutable int[]));
static assert(isConvertibleToSlice!(string[]));
static assert(isConvertibleToSlice!(SeriesMap!(string, int)));
static assert(isConvertibleToSlice!(Slice!(int*)));

Meta