UNPKG

@zenbase/llml

Version:

Lightweight Language Markup Language - Convert nested data structures to human-readable, XML-like markup

10 lines (7 loc) 257 B
import type { Formatters } from "../types" export const isNull = (v: unknown): boolean => v === null export const formatNull = ( _value: unknown, _llml: (data: unknown, formatters: Formatters) => string, _formatters: Formatters, ): string => "null"