Type Conventions
Function arguments and operator input values are all dynamically typed, yet certain functions expect certain specific data types or classes of data types. To this end, the function and operator prototypes in the Zed documentation include several type classes as follows:
- any - any Zed data type
- float - any floating point Zed type
- int - any signed or unsigned Zed integer type
- number - either float or int
Note that there is no "any" type in Zed as all super-structured data is comprehensively typed; "any" here simply refers to a value that is allowed to take on any Zed type.