isCurrentTargetOS

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

bool
isCurrentTargetOS

Parameters

os
Type: TargetOS

TargetOS to check

Return Value

Type: bool

true iff os contains the current targetOS.

Meta