Function: getSnapshotModelType()
function getSnapshotModelType(snapshot): string | undefined;
Gets the model type name from a model snapshot.
Parameters
| Parameter | Type | Description |
|---|---|---|
snapshot | unknown | The snapshot to get the model type from. |
Returns
string | undefined
The model type name if the snapshot is a model snapshot, undefined otherwise.