Map¶
Converts all rows in the table to the return value of the given callback function.
1 |
|
Converts all rows in the table to the return value of the given callback function.
1 |
|
Parameters¶
(row: DataRow) => any fn
A function to call for every data row.
Returns¶
An array containing the results of the callback function for each row. An array containing the results of the callback function for each row.
Remarks¶
If the callback function is null, an error is thrown.
Convert all rows:¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
|
If the callback function is null, an error is thrown.