UNPKG

@zsnout/ithkuil

Version:

A set of tools which can generate and parse romanized Ithkuil text and which can generate Ithkuil script from text and JSON data.

12 lines (11 loc) 414 B
import { caToIthkuil, geminatedCAToIthkuil } from "../../ca/index.js"; /** * Converts Slot VI into Ithkuil. * * @param slot The Ca of the formative. * @param metadata Additional information relevant to Slot VI. * @returns Romanized Ithkuilic text representing Slot VI. */ export function slotVIToIthkuil(slot, metadata) { return metadata.isSlotVFilled ? geminatedCAToIthkuil(slot) : caToIthkuil(slot); }