p5.js | p5.Table clearRows() Method
The clearRows() method of p5.Table in p5.js is used to clear all rows in a table. It does not affect columns and their titles. It can be used to clear a table without affecting its column structure. It has no parameters.
Parameters: This function has no parameter.
The example below illustrates the clearRows() function in p5.js:
Online editor: https://editor.p5js.org/
Environment Setup: https://www.geeksforgeeks.org/p5-js-soundfile-object-installation-and-methods/