@twinfinity/entity-referenceFunctionsshapeMatchesshapeMatches CallableshapeMatches(reference: EntityReference, shape: EntityChainShape, versionPolicy?: EntityVersionPolicy): booleanWhether a reference matches one shape, strictly and whole.Parametersreference: EntityReferenceshape: EntityChainShapeversionPolicy: EntityVersionPolicy = 'requireSupport'Returns boolean
Whether a reference matches one shape, strictly and whole.