nbviewer.js icon indicating copy to clipboard operation
nbviewer.js copied to clipboard

Handle all string/array enums correctly

Open kokes opened this issue 5 years ago • 0 comments

There are quite a few fields that may be plain strings or arrays of strings - we handle them in various ways - either via typeofs or Array.isArray. We should have a helper that consumes a variable of type string|array[string] and outputs a string. That should solve pretty much all of these cases.

Last time this surfaced was in #44.

kokes avatar Jul 09 '20 09:07 kokes