@threadplane/chatFunctionv0.3.4

deriveSourceType

Explicit sourceType, else 'web' inferred from a url, else 'unknown'.

import { deriveSourceType } from '@threadplane/chat';

Declaration · overload 1

export declare function deriveSourceType(c: Citation): string;

Parameters

c · required
Citation

Returns

string