-
Notifications
You must be signed in to change notification settings - Fork 0
happy.misc
Jan Kukačka edited this page Mar 9, 2022
·
1 revision
Miscellaneous functions which may be later transferred to a dedicated module.
Helping function for scenarios when variable (usually function parameter) is allowed to be an object or a list of objects. This returns canonical representation where even single objects are converted to a list containing a single object.
Taken from https://stackoverflow.com/a/1416677/2042751.