src/lib/Lorem.js
/** 
   * @param {LoremParagraphInit|number=} init When number then it is a number of sentences in the paragraph.
   * @returns {string} A paragraph of sentences.
   */
@param {LoremParagraphInit|number=} init When number then it is a number of sentences in the paragraph.
@returns {string} A paragraph of sentences.
@param { LoremParagraphInit|number = } init When number then it is a number of sentences in the paragraph . @returns { string } A paragraph of sentences .
paragraph(init={}) {
    let opts =  ({ });
    if (typeof init === 'number') {
      opts.sentences = init;
    } else {
      opts = { ...init };
    }
    const { lineBreak, sentences = this[typesValue].number({ min: 3, max: 7 }) } = opts;
    const items = new Array(sentences).fill('').map(() => this.sentence());
    return items.join(lineBreak === true ? '\r\n' : ' ');
  }
paragraph ( init = { } ) { let opts = ( { } ) ; if ( typeof init === 'number' ) { opts . sentences = init ; } else { opts = { ... init } ; } const { lineBreak , sentences = this [ typesValue ] . number ( { min : 3 , max : 7 } ) } = opts ; const items = new Array ( sentences ) . fill ( '' ) . map ( ( ) => this . sentence ( ) ) ; return items . join ( lineBreak === true ? '\r\n' : ' ' ) ; }
@param {LoremParagraphInit|number=} init When number then it is a number of sentences in the paragraph.
@param { LoremParagraphInit|number = } init When number then it is a number of sentences in the paragraph .
/** @type LoremParagraphInit */