RMI-PACTA / pacta.data.validation

pacta.data.validation
https://rmi-pacta.github.io/pacta.data.validation/
Other
2 stars 0 forks source link

feat: Consider creating function pairs: `assert_*` and `is_*` #74

Open jdhoffa opened 4 months ago

jdhoffa commented 4 months ago
          I have been questioning whether there should be both `assert_valid_*()` and `is_valid_*()` style functions for each data type it knows, one that errors or returns TRUE invisibly and one that returns TRUE or FALSE. That would be a rather large "interface" change. There are also a few significant things missing.

Originally posted by @cjyetman in https://github.com/RMI-PACTA/pacta.data.validation/issues/73#issuecomment-2094077635

AB#10915