Skip to content

How to determine if model was created from a factory? #29

Description

@terinjokes

What's the equivalent of foo instanceof Foo when using VeryModel?

The model instance stores a reference to the factory in __verymeta.model but this isn't exposed via the API.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions