FuncDeclaration.inUnittest

Returns true if function was declared directly or indirectly in a unittest block

class FuncDeclaration
final
bool
inUnittest
(
)

Meta