Skip to content

Primitive

1 min read

Import: import system.codegen;

Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.

Primitive

Built-in scalar types.

public enum Primitive

NotPrimitive

Identifies not primitive types.

NotPrimitive

Int

Identifies int types.

Int

Long

Identifies long types.

Long

UInt

Identifies uint types.

UInt

ULong

Identifies ulong types.

ULong

ISize

Identifies isize types.

ISize

USize

Identifies usize types.

USize

Byte

Identifies byte types.

Byte

Float

Identifies float types.

Float

Float16

Identifies float16 (IEEE binary16) types.

Float16

Double

Identifies double types.

Double

Bool

Identifies bool types.

Bool

Char

Identifies char types.

Char

String

Identifies string types.

String

Object

Identifies object types.

Object