UNPKG

type-plus

Version:
9 lines 286 B
import { typeSym } from './constants.js'; export function nominalMatch(a, b) { if (typeof a === 'object' && a !== null && typeof b === 'object' && b !== null) return a[typeSym] === b[typeSym]; else { return true; } } //# sourceMappingURL=nominal_match.js.map