We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a3365f commit 9a8e2e5Copy full SHA for 9a8e2e5
index.html
@@ -1068,17 +1068,7 @@ <h2>The <dfn>InteractionOutput</dfn> interface</h2>
1068
let |payload| be the value of |schema|.|default|.
1069
</li>
1070
<li>
1071
- Let |const| be |schema|.|const|.
1072
- If |const| is not |undefined|,
1073
- <ol>
1074
- <li>
1075
- <!-- TODO: Should we already return here? -->
1076
- If |const| equals |payload|, return |payload|.
1077
- </li>
1078
1079
- If |const| does not equal |payload|, throw {{TypeError}} and stop.
1080
1081
- </ol>
+ If |schema|.|const| is not |undefined| and |schema|.|const| does not equal |payload|, throw {{TypeError}} and stop.
1082
1083
1084
If |schema|.|enum| is not |undefined| and none of the elements in
0 commit comments