* @param [options.width] {number} - the max column width in characters (defaults to 30).
* @param [options.break] {boolean} - if true, words exceeding the specified `width` will be forcefully broken
* @param [options.noTrim] {boolean} - By default, each line output is trimmed. If `noTrim` is set, no line-trimming occurs - all whitespace from the input text is left in.
* @return {string}
*/
staticwrap(text,options){
constblock=newthis(text,options)
returnblock.wrap()
}
/**
* Wraps the input text, returning an array of strings (lines).
* @param {string} - input text
* @param {object} - Accepts same options as constructor.
*/
staticlines(text,options){
constblock=newthis(text,options)
returnblock.lines()
}
/**
* Returns true if the input text would be wrapped if passed into `.wrap()`.
* @param {string} - input text
* @return {boolean}
*/
staticisWrappable(text){
if(t.isDefined(text)){
text=String(text)
varmatches=text.match(re.chunk)
returnmatches?matches.length>1:false
}
}
/**
* Splits the input text into an array of words and whitespace.