The OpenD Programming Language

isRandomVariable

Test if T is a random variable.

template isRandomVariable (
T
) {
static if(is(typeof(T.isRandomVariable) : bool))
enum isRandomVariable;
static if(!(is(typeof(T.isRandomVariable) : bool)))
enum isRandomVariable;
}

Meta