\getsThe \gets command in LaTeX is used to produce a leftward arrow, typically used to indicate assignment or direction from right to left in mathematical expressions.
Assignment of the value y + 1 to x
x \gets y + 1Indicating that A is assigned the value of B
A \gets BAssigning the result of a function to a variable
result \gets computeValue()