Function 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. Refer to the url=https://docs.godotengine.org/en/latest/getting_started/workflow/export/feature_tags.htmlFeature Tags/url documentation for more details. Note: Tag names are case-sensitive.

bool hasFeature (
  const(String) tag_name
) nothrow @nogc const;