Function isNode

  • Checks if the given object is a MobX-Bonsai node.

    Parameters

    • struct: unknown

      The object to check.

    Returns boolean

    true if the object is a MobX-Bonsai node, false otherwise.