Cotal TypeScript packages
    Preparing search index...

    Function parseSlash

    • Parse one slash line. A channel may be written with its #, as the view prints it. Channel names are checked by the session against native policy, not here.

      Parameters

      • line: string

      Returns { command: SlashCommand; ok: true } | { error: string; ok: false }