Spaces:
Build error
Build error
import type { Message } from "$lib/types/Message"; | |
export function isMessageId(id: string): id is Message["id"] { | |
return id.split("-").length === 5; | |
} | |