• Retrieves a deep clone of the raw data of the given DataObject instance.

    Type Parameters

    • T

    Parameters

    • data: DataObject<T>

      The DataObject instance from which to obtain the raw data.

    Returns T

    A deep-cloned copy of the raw data stored within the given data object.

    const rawData = getRawData(myDataObject);
    console.log(rawData); // Logs the raw data