Skip to content

Commit

Permalink
fix(Entity): remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
azu committed May 6, 2018
1 parent 656a4d5 commit 4f3e050
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/EntityLike.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
import { ReadonlyEntity } from "./immutable/ImmutableEntity";
import { Identifier } from "./Identifier";

export const isEntityLike = (entity: any): entity is EntityLike<any> => {
if (!entity) {
return false;
}
return entity instanceof ReadonlyEntity;
};

export interface EntityLikeProps<Id extends Identifier<any>> {
id: Id;
}
Expand Down

0 comments on commit 4f3e050

Please # to comment.