code: function createTable(
      opts: Options,
      columns: number,
      rows: number,
      getCellContent?: (row: number, column: number) => Node[]
  ): Block {
      const rowNodes = Range(0, rows)
          .map(i =>
              createRow(
                  opts,
                  columns,
                  getCellContent ? getCellContent.bind(null, i) : undefined
              )
          )
          .toList();
  
      return Block.create({
          type: opts.typeTable,
          nodes: rowNodes
      });
  }
docs: Create a table