Returns the name and, for a user from another instance, the host of
handle. splitHandle("alice@music.example") is
{ name: "alice", host: "music.example" }; a local name has no host.
Parameters
handle: string
Return Type
{ name: string; host?: string; }
Usage
import { splitHandle } from "shared/validation.ts";