mobx-keystone

    Function getModelRefId

    • Uses a model getRefId() method whenever possible to get a reference ID. If the model does not have an implementation of that method it returns undefined. If the model has an implementation, but that implementation returns anything other than a string it will throw.

      Parameters

      • target: object

        Target object to get the ID from.

      Returns undefined | string

      The string ID or undefined.

    MMNEPVFCICPMFPCPTTAAATR