Commit Graph

2 Commits

Author SHA1 Message Date
Erik Eckstein
98792868c6 put the require function into the swift namespace 2024-04-04 14:20:30 +02:00
Erik Eckstein
849cabcb3f add a require utility function
In contrast to `assert` and similar functions, `require` works in no-assert builds the same way as in debug builds.
It can be used to check invariants also in release builds.
2024-03-21 15:52:39 +01:00