| SAXONICA | 
fn:months-from-duration( yearMonthDuration? $srcval) → integer?
Function signature
| $srcval | xdt:yearMonthDuration ? | 
| Result | xs:integer ? | 
Extracts the months component of a yearMonthDuration value