mobx-keystone
    Preparing search index...

    Function getSnapshotModelType

    • Gets the model type name from a model snapshot.

      Parameters

      • 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.