Getting Started
Tutorials
API Documentation
Creates a Formula object representing a constant value.
The function determines the appropriate DataType based on the input type and returns a corresponding Formula instance.
x (bool | float | int | str | Operand) – The constant value to be converted into a Formula.
bool
float
int
str
Operand
A Formula object representing the given constant.
Formula
TypeError – If the input type is not supported.