show-solutionsfunction
#show-solutions(get)Returns whether solutions are shown. Use this instead of reading show-solutions directly from config, since it takes the --input show-solutions=.. command-line option into account. Useful for content that #solution[..] cannot wrap (e.g. to show a solution curve on a plot). Must be used with elembic's get function. E.g., e.get(get => if show-solutions(get) [..]).
Note: do not use it to show or hide a question/part/subpart. The exam cannot see a question/part/subpart inside e.get, so it is drawn as plain text, unnumbered, under a warning.
Arguments
getfunctionrequiredpositionalThe
get function returned by elembic. E.g., e.get(get => ..).