isCurrentTargetOS

Checks whether os is the current TargetOS. For TargetOS.all it will always return true.

@safe
bool
isCurrentTargetOS

Parameters

os TargetOS

TargetOS to check

Return Value

Type: bool

true iff os contains the current targetOS.

Meta