type: fhirpath-functionfunction: convertsToIntegercategory: Conversionsection: 5.5.3.2source: fhirpath/functions.json
FHIRPath Function: convertsToInteger
No canonical section match found in index.md.
Summary
- Category: Conversion
- Section:
5.5.3.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 an Integer value.
Arguments
Type Mapping
Example
'123'.convertsToInteger() // returns true
'abc'.convertsToInteger() // returns false