Files
smesh/src/lib/account.ts
2024-12-23 23:22:49 +08:00

6 lines
199 B
TypeScript

import { TAccountPointer } from '@/types'
export function isSameAccount(a: TAccountPointer | null, b: TAccountPointer | null) {
return a?.pubkey === b?.pubkey && a?.signerType === b?.signerType
}