docs/versions/8.3.0/rules/lib/providers/ConstraintSettingInfo.mdx
{% dynamic setvar source_file "src/main/java/com/google/devtools/build/lib/starlarkbuildapi/platform/ConstraintSettingInfoApi.java" %} {% dynamic setvar version "8.3.0" %} {% dynamic setvar original_path "/rules/lib/providers/ConstraintSettingInfo" %} {% include "_buttons.html" %}
<!-- {% raw %} -->A specific constraint setting that may be used to define a platform. See <a href='/versions/8.3.0/docs/platforms#constraints-platforms'>Defining Constraints and Platforms</a> for more information. <i>Note: This API is experimental and may change at any time. It is disabled by default, but may be enabled with <code>--experimental_platforms_api</code></i>
<h2>Members</h2> <ul> <li> <a href="#has_default_constraint_value">has_default_constraint_value</a> </li> </ul> <h2 id="has_default_constraint_value">has_default_constraint_value</h2>
<p><pre class="rule-signature"><a class="anchor" href="../core/bool.html">bool</a> ConstraintSettingInfo.has_default_constraint_value</pre></p>
Whether there is a default constraint_value for this setting.