hasProperty

@safe
enum hasProperty (
Property
)

Return Value

true if T has the Property

Examples

static assert(hasProperty!(BehaviourUnittest.Some_awesome_feature, Then));
static assert(!hasProperty!(BehaviourUnittest.Some_awesome_feature_bad_format_missing_given, Given));