Methods
-
isNotDefaultStatusCode(code)
-
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)
-
stringifies the given JSON object
Parameters:
Name Type Description obj
object JSON object to be stringified Returns:
- Type
- string
-
notEmptyObject(obj)
-
determines if the given object is empty or not
Parameters:
Name Type Description obj
object object to be evaluated Returns:
- Type
- boolean