StringExtensions.IsInteger method

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

IsInteger(string)

Static

Alias of Skybrud.Essentials.Strings.Extensions.StringExtensions.IsInt32(System.String). Gets whether the string matches an integer (int ).

public static bool IsInteger(string str)

Parameters

str String

The string to validate.

Returns

true if str matches an integer; otherwise false.