hasCellStateType

return true if T has an alias named CellStateType. False if not

template hasCellStateType (
T
) {
enum hasCellStateType;
}

Examples

1 struct Foo {
2 	alias CellStateType = void;
3 }
4 
5 static assert( hasCellStateType!Foo);
6 static assert(!hasCellStateType!string);

Meta