StringExtensions.IsInt64 method

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Strings.Extensions
Assembly Skybrud.Essentials.dll

IsInt64(string)

Static

Gets whether the string matches a long (long ).

public static bool IsInt64(string value)

Parameters

value String

The value to check.

Returns

true if value matches a long value; otherwise false.

IsInt64(string, out long)

Static

Returns whether the specified value matches a long value.

public static bool IsInt64(string value, long result)

Parameters

value String

The value to check.

result long

The converted long value, of 0 if value doesn't match a long value.

Returns

true if value matches an long value; otherwise false.