You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Nullness returns the underlying refinement data indicating:
36
+
// - When "false", the final value will definitely not be null.
37
+
// - When "true", the final value will definitely be null.
38
+
//
39
+
// While an unknown value can be refined to indicate that the final value will definitely be null (Nullness = true), there is no practical reason
40
+
// to do this. This option is exposed to maintain parity with Terraform's type system, while all practical usages of this refinement should collapse
41
+
// to known null values instead.
31
42
func (nNullness) Nullness() bool {
32
43
returnn.value
33
44
}
34
45
35
46
func (nNullness) unimplementable() {}
36
47
37
-
// TODO: doc
48
+
// NewNullness returns the Nullness unknown value refinement that indicates the final value will definitely not be null (Nullness = false). This refinement
49
+
// can be applied to a value of any type (excluding DynamicPseudoType).
50
+
//
51
+
// While an unknown value can be refined to indicate that the final value will definitely be null (Nullness = true), there is no practical reason
52
+
// to do this. This option is exposed to maintain parity with Terraform's type system, while all practical usages of this refinement should collapse
0 commit comments