[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-26 UTC."],[],[],null,["# TO_BOOLEAN function\n\nSee the [supported connectors](/integration-connectors/docs/connector-reference-overview) for Application Integration.\n\nTO_BOOLEAN function\n===================\n\n`TO_BOOLEAN` function\n---------------------\n\nSupported data type\n-------------------\n\n\nThe `TO_BOOLEAN` function supports the following data types:\n\n- JSON\n- String\n\nExample 1: Get the boolean value of a string\n--------------------------------------------\n\n\n**Sample data** : `$var1$ = \"true\"`\n\n\n**Usage** : `$var1$.TO_BOOLEAN()`\nGet the boolean value of var1.\n\n\n**Output** : `TRUE`\n\nExample 2: Get the boolean value of a string\n--------------------------------------------\n\n\n**Sample data** : `$var1$ = \"FALSE\"`\n\n\n**Usage** : `$var1$.TO_BOOLEAN()`\nGet the boolean value of var1.\n\n\n**Output** : `FALSE`\n\nRecommendation\n--------------\n\n- Learn how to add and configure a [Data Mapping task](/application-integration/docs/configure-data-mapping-task)"]]