Methods
(async) promptExistence()
- Source:
A convenient function to use with any functions that may not always necessarily receive their arguments (e.g. bash shell calling a node script through stages, if things break and the next function dependent on the previous one has an undefined variable, simply prompt the user for it and keep running).
If the variable has not been given a value (more strictly, if falsy), let the user know, request a new value, and continue, unless told to otherwise.