type: fhirpath-functionfunction: convertsToDecimalcategory: Conversionsection: 5.5.6.2source: fhirpath/functions.json
FHIRPath Function: convertsToDecimal
No canonical section match found in index.md.
Summary
- Category: Conversion
- Section:
5.5.6.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 true if the item can be converted to a Decimal value.
Arguments
Type Mapping
Example
'123.45'.convertsToDecimal() // returns true
'abc'.convertsToDecimal() // returns false