modules/text/text.js
function formatString (string) {
    const separator = "\n";
    return Array.isArray(string) ?
        string.reduce((acc, line) => acc.concat(line.split(separator)), []) :
        string.split(separator);
}
function formatString (string) {
    const separator = "\n";
    return Array.isArray(string) ?
        string.reduce((acc, line) => acc.concat(line.split(separator)), []) :
        string.split(separator);
}
function formatString ( string ) { const separator = "\n" ; return Array . isArray ( string ) ? string . reduce ( ( acc , line ) => acc . concat ( line . split ( separator ) ) , [ ] ) : string . split ( separator ) ; }
Reformat passed arguments into an array of line string
@param {String|Array<String>} string -
@return {Array<String>}
Reformat passed arguments into an array of line string