infer_workspace: Returns the argument if a valid workspace is passed, or the default
workspace from the GoFigr client otherwise. Throws an error if both
are NULL.
Description
Returns the argument if a valid workspace is passed, or the default
workspace from the GoFigr client otherwise. Throws an error if both
are NULL.
Usage
infer_workspace(gf, workspace)
Arguments
- gf
GoFigr client
- workspace
workspace or NULL