JavaScript / nodejs [JavaScript] Function to check if something is an array and if not, return it as array May 19, 2022 July 10, 2023 Arrays, function, helper, isArray, JavaScript, nodejs const asArray = x => Array.isArray(x) ? x : [ x ] [SAPUI5] Get i18n texts [nodejs] Parsing multipart/mixed response (containing a file stream) Leave a Reply Cancel replyYour email address will not be published. Required fields are marked *CommentName* Email* Website Save my name, email, and site URL in my browser for next time I post a comment.