Lines Matching refs:types
20 4. Types |vim9-types|
100 - Functions are declared with argument types and return type: >
160 reference (so that the argument and return types can be checked)
192 The argument types and return type need to be specified. The "any" type can
505 without `function()`. The argument types and return type will then be checked.
520 because of the use of argument types.
791 The key type can be string, number, bool or float. Other types result in an
893 When using "`.."` for string concatenation arguments of simple types are
898 Simple types are string, float, special and bool. For other types |string()|
1164 4. Types *vim9-types*
1168 The following builtin types are supported:
1186 These types can be used in declarations, but no simple value will actually
1226 Custom types can be defined with `:type`: >
1228 Custom types must start with a capital letter, to avoid name clashes with
1229 builtin types added later, similarly to user functions.
1232 And classes and interfaces can be used as types: >
1249 Variable types and type casting ~
1250 *variable-types*
1289 dictionary. If there is a mix of types, the "any" type is used. >
1334 type. E.g. when a list of mixed types gets changed to a list of strings: >
1523 - Class names are always CamelCase (to avoid a name clash with builtin types)
1593 dictionary throw an error. If the types are known to be numbers then an "add
1598 The syntax for types, using <type> for compound types, is similar to Java. It
1639 typing (a variable can have different types, this changes at runtime). Since
1667 - TypeScript has various "Readonly" types, which have limited usefulness,
1694 best for adding types to declarations: >
1700 This is how we put types in a declaration: >