Skip to content

Beautiful, AI-native markdown IDE and LLM wiki

161 B
Raw Blame
export function authoredText(value: unknown): string {
  if (typeof value === 'string') return value;
  return typeof value === 'number' ? String(value) : '';
}