Unicode Intrinsic Functions - IsDuration Method
Test whether the string is a valid duration
Member of Unicode Intrinsic Functions (PRIM_LIBI.IUnicodeIntrinsics)
| Name | Type | Data Type | Description |
|---|---|---|---|
| Result | *Result (Optional) | Boolean | True if the string is a valid duration |
IsDuration tests a variable to determine whether it can be used as a duration. IsDuration will often be used before AsDuration to trap a potential run time error.
LANSA Version 15, April 2020