The any type
Keywords: doc-html

Next: Statements and Expressions Up: Values, Types, and Constants Previous: Event handlers Contents Index

#
The `any` type

The `any` type is a type used internally by Bro to bypass strong typing. For example, the `fmt` function takes arguments of type `any`, because its arguments can be of different types, and of variable length. However, the `any` type is not supported for use by the user; while Bro lets you declare variables of type `any`, it does not allow assignment to them. This may change in the future. Note, though, that you can achieve some of the same effect using `record` values with `&optional` fields.