Compatible Unicode Intrinsic Functions - IsDuration Method
Test whether the string is a valid duration
Member of Compatible Unicode Intrinsic Functions (PRIM_LIBI.ICompatibleUnicodeIntrinsics)
Parameters
Name | Type | Data Type | Description |
|---|---|---|---|
Result | *Result (Optional) | Boolean | True if the string is a valid duration |
Details
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.