Rust API Directory
Click on any endpoint to test it directly:
add:
x: int
y: int
purpose: adds y to x
subtract:
x: int
y: int
purpose: subtracts y from x
multiply:
x: int
y: int
purpose: multiplies x with y
divide:
x: float
y: float
purpose: divides x by y
note: y cannot be 0
modulo:
x: float
y: float
purpose: determines remainder of x divided by y
note: y cannot be 0
returns a generated image
concat:
a: string
b: string
purpose: concats a and b
reverse:
a: string
purpose: reverses a
truncate:
a: string
b: int
purpose: truncates a by b letters
Replace:
a: string
b: string
purpose replaces instances of characters from string b in string a
Exponent:
a: uint
b: uint
raises a to the b power
Multiply String:
a: string
b: uint
duplicates string a, b times
to_lowercase:
a: string
purpose: lowercases a
to uppercase:
a: string
purpose: uppercases a
Factorial:
a: uint
computes a factorial