Skip to content
Threadplane
Pricing
Talk to Us
@threadplane/angular/chat/citationsFunctionv0.3.7

deriveSourceType

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

View sourceView Markdown
import { deriveSourceType } from '@threadplane/angular/chat/citations';

Declaration · overload 1

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

Parameters

c · required
Citation

Returns

string