Skip to main content Link Search Menu Expand Document (external link)

TemplateSeparator overview

This module implements a CVTemplateSeparator type which is one of the constituents of CVTemplate’s (see Template.ts and TemplatePart.ts)


Table of contents


Constructors

make

Constructor

Signature

export declare const make: (value: string) => Type

Destructors

toParser

Builds a parser that implements this CVTemplateSeparator

Signature

export declare const toParser: (self: Type) => (pos: number, text: string) => Either.Either<string, MInputError.Type>

value

Returns the value property of self

Signature

export declare const value: MTypes.OneArgFunction<Type, string>

Guards

has

Type guard

Signature

export declare const has: (u: unknown) => u is Type

Instances

backslash

Backslash Separator instance

Signature

export declare const backslash: Type

colon

Colon Separator instance

Signature

export declare const colon: Type

comma

Comma Separator instance

Signature

export declare const comma: Type

dot

Dot Separator instance

Signature

export declare const dot: Type

hyphen

Hyphen Separator instance

Signature

export declare const hyphen: Type

slash

Slash Separator instance

Signature

export declare const slash: Type

space

Space Separator instance

Signature

export declare const space: Type

Models

Type (interface)

CVTemplateSeparator Type

Signature

export interface Type extends MInspectable.Type, Pipeable.Pipeable {
  /** The string representing this separator */
  readonly value: string

  /** @internal */
  readonly [_TypeId]: _TypeId
}

Module markers

moduleTag

Module tag

Signature

export declare const moduleTag: "@parischap/conversions/TemplateSeparator/"