sameModelLink
Function: sameModelLink()
sameModelLink(
left,right):boolean
Defined in: packages/models/lib/polymorphic.d.ts:30
Compare both the model identifier and the complete primary key (object field order does not matter).
Parameters
left
first reference
right
second reference
Returns
boolean
true for the same model and primary key