utils¶
The utils
module provides utility functions for general operations.
Functions
- wikirepo.utils._make_var_list(var)[source]¶
Allows for a one line check for if a variable is a list.
- wikirepo.utils._return_given_type(var, var_was_str)[source]¶
Allows for a one line return or list or string variables.
- wikirepo.utils.round_if_int(val)[source]¶
Rounds off the decimal of a value if it is an integer float.