A type is a classification for data such as integers and Booleans. Types determine the possible values for the data, the meaning of the data, and the permitted operations on the data.

  • Array Types

    Array types are used for representing internally-typed arrays.

  • Existent Types

    Existent types are used for preventing out-of-bounds errors at compile time.

  • Function (Callback) Types

    Function types are used for representing internally-typed functions and callbacks.

  • Nullable Types

    Enables internal types to take null values.

  • Primitive Types

    Primitive types are the basic data types of JS++. Primitive types are built into the language itself.

  • User-defined Types

    Custom, user-defined types can be declared with the class, interface, or enum keyword.


HTML | BBCode | Direct Link