Target.isPOSIX

struct Target
extern (D) @property scope const nothrow @nogc @safe
bool
isPOSIX
()
out (result) { assert (result || os == Target.OS.Windows); }

Return Value

Type: bool

true if generating code for POSIX

Meta