• Used by the repl to provide automatic completions for a given (partial) input line

    Parameters

    • line: string

    Returns [string[], string]