The OpenD Programming Language

StopWatch.running

Returns whether this StopWatch is currently running.

struct StopWatch
@property @safe const pure nothrow @nogc
bool
running
()

Examples

StopWatch sw;
assert(!sw.running);
sw.start();
assert(sw.running);
sw.stop();
assert(!sw.running);

Meta