OSSingleton.hasFeature

Returns true if the feature for the given feature tag is supported in the currently running instance, depending on platform, build etc. Can be used to check whether you're currently running a debug build, on a certain platform or arch, etc. See feature tags documentation.

struct OSSingleton
@nogc nothrow const
bool
hasFeature
(
StringArg0
)
(
in StringArg0 tag_name
)

Meta