mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-29 10:56:22 -07:00
4 lines
122 B
TypeScript
4 lines
122 B
TypeScript
|
export default function(user: { name?: string | null, username: string }): string {
|
||
|
return user.name || user.username;
|
||
|
}
|