isInstanceOfEntity Readonly

isInstanceOfEntity: "true" = ...

An immutable property used to discriminate between Entity and EntityProps, used to inform the TypeScript compiler that these two types are never substitutable for one another. To obtain an EntityProps from an Entity, use Entity.toJSON.

Defined in

Last Updated: 13 November, 2024