# Function notOk_Then (testValue, defaultValue)

>**notOk_Then**(testValue, defaultValue)
- Short version of testing a value, and if it is a null value to assign a default value
- **Return {string|*}** - testValue / defaultValue
- See [Functions](../functions.md)

## Parameters

| Parameter |Type |Default |Description |
|  ---- | ---- | ---- | ---- |
**testValue** | | | |
**defaultValue** | |undefined | |
