Parameters
- v
- The Variant to be converted.
Return Value
Returns
true
if:
- the Variant is boolean 'True';
- the Variant is numeric non-zero;
- the Variant is string represents numeric non-zero value;
- the Variant is string other than 'False';
- the Variant is TimeSpan other than TimeSpan.Zero;
- the Variant is DateTime other than default(DateTime);
- the Variant is object other than
null
.
False
in all other cases.