data — size()

Description

The size() method of the data object returns the number of datasets stored in the notebook.

Signature

data.size()
Scope
data
Family
core
Returns
number

Returns

size (number)
The total number of stored datasets.

Example

// log the size of data
notebook.log(data.size());