isSameSubject
isSameSubject(
didA,didB):boolean
Returns true if both didA and didB refer to the same DID subject, i.e., whether they have the same identifier as specified in the method spec.
Parameters
Section titled “Parameters”• didA: `did:cord:3${string}`
A CORD DID uri as a string.
• didB: `did:cord:3${string}`
A second CORD DID uri as a string.
Returns
Section titled “Returns”boolean
Whether didA and didB refer to the same DID subject.