function parseFlashValue
parseFlashValue(value: string): Flash

Parse a flash cookie value into type, message, optional result, and the optional form re-fill stash token.

Parameters

value: string

Return Type

Flash

Usage

import { parseFlashValue } from "doc.ts";