getScenario

@safe
template getScenario (
T
) if (
is(T == class) ||
is(T == struct)
) {
@safe
enum scenario_attr;
@safe
static if(scenario_attr.length is 1)
enum getScenario;
@safe
static if(!(scenario_attr.length is 1))
enum getScenario;
}

Return Value

The Scenario UDA of T and if T is not a Scenario then result is false