is checks if this params object has the specified nullability bit set
(n nullability)
| 79 | |
| 80 | // is checks if this params object has the specified nullability bit set |
| 81 | func (p Param) is(n nullability) bool { |
| 82 | return (p.nullability & n) == n |
| 83 | } |
| 84 | |
| 85 | // NonNull determines whether this param should be "not null" in its current state |
| 86 | func (p Param) NotNull() bool { |