Verified Commit b6cbfb56 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

preprocessor: submodule update and doc update

parent ea06dfbc
......@@ -10482,6 +10482,23 @@ directive (see below). A function is evaluated at the time it is invoked, not
at define time. Functions can be included in expressions and the operators that
can be combined with them depend on their return type.
.. rubric:: Checking variable type
Given a variable name or literal, you can check the type it evaluates to using
the following functions: ``isboolean``, ``isreal``, ``isstring``, ``istuple``,
and ``isarray``.
| **Code** | **Output** |
| ``isboolean(0)`` | ``false`` |
| ``isboolean(true)`` | ``true`` |
| ``isreal("str")`` | ``false`` |
.. rubric:: Casting between types
Subproject commit ff6eea7f297cdceab7b8c2fd954d7332bb86e04f
Subproject commit 273c54f7fbd9a8f345e33300e25ea5fb45b2b3c8
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment