phobos-next v0.3.9 (2020-08-07T21:50:30Z)
Home
Dub
Repo
isIndexableBy
nxt
typecons_ex
Check if
R
is indexable by
I
.
eponymoustemplate
isIndexableBy
(R, I)
enum
isIndexableBy (
R
I
)
eponymoustemplate
isIndexableBy
(R, alias I)
Examples
static
assert
(
isIndexableBy
!(
int
[
3
],
ubyte
));
Meta
Source
See Implementation
nxt
typecons_ex
enums
hasIndexing
isCastableTo
isIndexableBy
functions
enumToString
indexedBy
nullable
nullableRef
strictlyIndexed
mixin templates
RvalueRef
structs
IndexedArray
IndexedBy
templates
New
makeEnumFromSymbolNames
Check if R is indexable by I.