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
Copy file name to clipboardexpand all lines: doc/stdlib/base.rst
+6
Original file line number
Diff line number
Diff line change
@@ -1068,6 +1068,12 @@ Errors
1068
1068
1069
1069
Throw an ``AssertionError`` if ``cond`` is ``false``\ . Preferred syntax for writing assertions. Message ``text`` is optionally displayed upon assertion failure.
1070
1070
1071
+
.. function:: @require precondition [message]
1072
+
1073
+
.. Docstring generated from Julia source
1074
+
1075
+
Throw ``ArgumentError`` if ``precondition`` is false.
0 commit comments