StringExtensions.IsTime(this string v) Method
.NET Standard 2.x
Reports whether the value of a string is a valid TimeSpan value.
Namespace: PowerScript.Bridge
Assembly: PowerScript.Bridge.dll
Syntax
public static bool? IsTime(this string v);
Parameters
str
System.String
A string whose value you want to test to determine whether it is a valid TimeSpan.
Returns
System.Boolean
Returns true
if v is a valid time and false
if it is not. If v is null
, IsTime
returns null
.
Examples
Coming soon.
Applies to
.NET Standard
2.x