--- type: "fhirpath-function" title: "FHIRPath Function: convertsToBoolean" function: "convertsToBoolean" category: "Conversion" section: "5.5.2.2" source: "fhirpath/functions.json" --- # FHIRPath Function: convertsToBoolean _No canonical section match found in index.md._ ## Summary - **Category**: Conversion - **Section**: `5.5.2.2` - **Return Type**: `Boolean` - **Empty Input Result**: `empty` - **Errors on Multiple Input**: `true` ## Description If the input collection contains a single item, this function will return true if the item can be converted to a Boolean value. ## Arguments - none ## Type Mapping - `Any-Boolean` ## Example ```fhirpath 'true'.convertsToBoolean() // returns true 'invalid'.convertsToBoolean() // returns false ```