@salesforce/b2c-tooling-sdk / operations/cip / booleanLiteral
Function: booleanLiteral()
booleanLiteral(
value):string
Defined in: packages/b2c-tooling-sdk/src/operations/cip/sql.ts:109
Validates a boolean string (true/false, case-insensitive) and returns the SQL literal.
Parameters
value
string
Boolean string value
Returns
string
The lowercase boolean literal true or false
Throws
If the value is not true or false