Commit 6854da9
committed
stdlib: ContainsFunc allows testing for presence of null value
The defaults for what to allow in a function argument are intentionally
conservative so that function implementations don't all need to reimplement
similar validation code for commonly-rejected cases, but this function
doesn't do anythign with the "value" argument except compare it with
another value using Value.Equals and so null values can be permitted here
for the same reason that EqualFunc allows its operands to be null.1 parent ddb73de commit 6854da9
2 files changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
321 | 321 | | |
322 | 322 | | |
323 | 323 | | |
324 | | - | |
325 | | - | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
326 | 327 | | |
327 | 328 | | |
328 | 329 | | |
| |||
0 commit comments