getEntityType()
function getEntityType<T>(target): EntityType;
Defined in: packages/rxdb/src/rxdb-utils.ts:20
获取实体类型
Type Parameters
| Type Parameter |
|---|
T extends EntityType |
Parameters
| Parameter | Type | Description |
|---|---|---|
target | Readonly<EntityMetadataType> | T | InstanceType<T> | 实体类、实体实例或实体元数据 |
Returns
实体类型