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

TemplateSeparator.ts overview

This module implements a MTemplateSeparator which constitutes the immutable parts of a MTemplate (see Template.ts and TemplatePart.ts)


Exports Grouped by Category


Constructors

make

Constructor

Signature

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

Source

Getters

value

Returns the value property of self

Signature

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

Source

Instances

backslash

Backslash Separator instance

Signature

declare const backslash: Type

Source

colon

Colon Separator instance

Signature

declare const colon: Type

Source

comma

Comma Separator instance

Signature

declare const comma: Type

Source

dot

Dot Separator instance

Signature

declare const dot: Type

Source

hyphen

Hyphen Separator instance

Signature

declare const hyphen: Type

Source

slash

Slash Separator instance

Signature

declare const slash: Type

Source

space

Space Separator instance

Signature

declare const space: Type

Source

Models

Type (class)

Type that represents a Separator

Signature

declare class Type {
  private constructor({ value }: MTypes.Data<Type>)
}

Source

make (static method)

Static constructor

Signature

declare const make: (params: MTypes.Data<Type>) => Type

Source

[MData.idSymbol] (method)

Returns the id of this

Signature

declare const [MData.idSymbol]: () => string | (() => string)

Source

value (property)

The string representing this separator

Signature

readonly value: string

Source

Module markers

moduleTag

Module tag

Signature

declare const moduleTag: "@parischap/effect-lib/TemplatePart/TemplateSeparator/"

Source