BuildPlatform.isWindows

Checks to see if platform field contains windows

struct BuildPlatform
const
bool
isWindows
()

Examples

BuildPlatform bp;
bp.platform = ["windows"];
assert(bp.isWindows);
bp.platform = ["posix"];
assert(!bp.isWindows);

Meta