Target.isPOSIX

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

Return Value

Type: bool

true if generating code for POSIX

Meta