OSSingleton.hasFeature

Returns true if the feature for the given feature tag is supported in the currently running instance, depending on the platform, build etc. Can be used to check whether you're currently running a debug build, on a certain platform or arch, etc. Refer to the url=https://docs.godotengine.org/en/3.3/getting_started/workflow/export/feature_tags.htmlFeature Tags/url documentation for more details. Note: Tag names are case-sensitive.

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

Meta