Skip to content
These docs are for v1 of RelationalAI. Click here to view the v2 docs.

integer

relationalai.semantics.std.numbers
integer(value: NumberValue) -> Variable

Create an expression that represents an integer with this value.

Parameters

  • value

    (NumberValue) - The integer value.

Returns

  • Variable - A Variable representing the integer value. Returns Integer.

Examples

Create integer expressions:

numbers.integer(42)
numbers.integer(Employee.age)