 | TypeExtensionsIsInt Method |
Determines whether the specified value is int.
Namespace:
com.espertech.esper.compat
Assembly:
NEsper.Compat (in NEsper.Compat.dll) Version: 8.0.0.0
Syntaxpublic static bool IsInt(
this Object value,
bool withUpcast = true
)
Parameters
- value
- Type: SystemObject
The value. - withUpcast (Optional)
- Type: SystemBoolean
if set to true [with upcast].
Return Value
Type:
Booleantrue if the specified value is int; otherwise,
false.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Object. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also