Check if toConst function can be called with type T.
import mir.series: SeriesMap; static assert(isConvertibleToSlice!(immutable int[])); static assert(isConvertibleToSlice!(string[])); static assert(isConvertibleToSlice!(SeriesMap!(string, int))); static assert(isConvertibleToSlice!(Slice!(int*)));
See Implementation
Check if toConst function can be called with type T.