Context.hasContextType

bool hasContextType(string contextType) nothrow

Checks if context has context_type.

Parameters

contextTypeContext type to check.

Returns

true if context has context_type.