@hbbio/nanoagent
    Preparing search index...

    Interface CustomRule<T>

    Custom rule for the JSON stringifier.

    interface CustomRule<T> {
        output: (v: T) => unknown;
        test: (v: unknown) => v is T;
    }

    Type Parameters

    • T
    Index

    Properties

    Properties

    output: (v: T) => unknown
    test: (v: unknown) => v is T