Method HasValue
| Improve this Doc View SourceHasValue(String)
Checks if the variable has a value.
Declaration
bool HasValue(string variable)
Parameters
| Type | Name | Description |
|---|---|---|
| String | variable | The variable to validate. |
Returns
| Type | Description |
|---|---|
| Boolean |
|
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException |
|