datasetBatchSize()
constdatasetBatchSize: (obj) =>number|undefined
Extract the batch size directly from a dataset.
Parameters
obj
Returns
number | undefined
The batch size or undefined
Remarks
Composed lens that navigates: dataset → metadata → batchSize
Example
const size = datasetBatchSize(dataset);
const batchSize = size || 10000;