errorhandler_class
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| errorhandler_class [2020/02/21 23:12] – sahl | errorhandler_class [2021/02/15 20:56] (current) – sahl | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| ===== Typechecking ===== | ===== Typechecking ===== | ||
| - | To introduce strict type checking on functions, the class introduces the '' | + | To introduce |
| One pass a variable to the function and then a type name, and if the variable doesn' | One pass a variable to the function and then a type name, and if the variable doesn' | ||
| Line 38: | Line 38: | ||
| |resource| | |resource| | ||
| |boolean| | |boolean| | ||
| + | |||
| + | integer and floats are checked based on content and not variable type, so a string containing a valid integer number will pass as a integer. | ||
errorhandler_class.1582326725.txt.gz · Last modified: 2020/02/21 23:12 by sahl