Interface Codec<T>

    Textual codec for a slot value. parse returns undefined to reject.

    interface Codec<T> {
        format(v: T): string;
        parse(s: string): T | undefined;
    }

    Type Parameters

    • T
    Index

    Methods

    Methods