isElemHandler

template isElemHandler (
A
) {
enum isElemHandler;
}

Examples

1 static assert(  isElemHandler!(int[]) );
2 static assert(  isElemHandler!(float[]) );
3 static assert(  isElemHandler!(string) );
4 static assert( !isElemHandler!int );
5 static assert( !isElemHandler!float );
6 static assert( !isElemHandler!(immutable(void)[]) );

Meta