UNPKG

@parischap/conversions

Version:

A functional library to replace partially the native Intl API

22 lines 666 B
/** * This module implements `CVTemplatePart`'s which are the constituents of `CVTemplate`'s (see * Template.ts). * * There are two kinds of `CVTemplatePart`'s: `CVTemplateSeparator`'s (see TemplateSeparator.ts) and * `CVTemplatePlaceholder`'s (see TemplatePlaceholder.ts) */ import * as CVTemplatePlaceholder from './TemplatePlaceholder.js'; import * as CVTemplateSeparator from './TemplateSeparator.js'; /** * Type guard * * @category Guards */ export const isPlaceholder = u => CVTemplatePlaceholder.has(u); /** * Type guard * * @category Guards */ export const isSeparator = u => CVTemplateSeparator.has(u); //# sourceMappingURL=TemplatePart.js.map