---
url: >-
  /statelake/scripting-reference/functions-and-procedures/numeric-functions/ifthen-string.md
---

# IfThen (String)

The **IfThen** function checks the expression passed as **AValue**, and returns the value of **ATrue** if the expression is **True**, or returns the value of **AFalse** if the expression is **False**.

Please refer to the string function [IfThen](/statelake/scripting-reference/functions-and-procedures/string-functions/ifthen) for more information.
