- Source:
Methods
isNotDefaultStatusCode(code) → {boolean}
- Source:
determines if the given status code is the 'default' status
Parameters:
Name | Type | Description |
---|---|---|
code |
string | number | status code to check |
Returns:
- Type
- boolean
json(obj) → {string}
- Source:
stringifies the given JSON object
Parameters:
Name | Type | Description |
---|---|---|
obj |
object | JSON object to be stringified |
Returns:
- Type
- string
notEmptyObject(obj) → {boolean}
- Source:
determines if the given object is empty or not
Parameters:
Name | Type | Description |
---|---|---|
obj |
object | object to be evaluated |
Returns:
- Type
- boolean