Integer
Bases: ColumnType
Type for a column that only contains integers.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
is_nullable |
bool
|
Whether the type also allows null values. |
False
|
Source code in src/safeds/data/tabular/typing/_column_type.py
__init__(is_nullable=False)
¶
__repr__()
¶
is_nullable()
¶
Return whether the given column type is nullable.
Returns:
Name | Type | Description |
---|---|---|
is_nullable |
bool
|
True if the column is nullable. |
is_numeric()
¶
Return whether the given column type is numeric.
Returns:
Name | Type | Description |
---|---|---|
is_numeric |
bool
|
True if the column is numeric. |