Logo GenPRES

Dto Module

Converts a text block to and from its serializable shape: the kind as a string and the text, copied unchanged. An unknown or missing kind gives UnknownTextKind.

Types

Type Description

Dto

Functions and values

Function or value Description

fromDto dto

Full Usage: fromDto dto

Parameters:
Returns: Result<TextBlock, DtoError>
dto : Dto
Returns: Result<TextBlock, DtoError>

toDto _arg1

Full Usage: toDto _arg1

Parameters:
Returns: Dto
_arg1 : TextBlock
Returns: Dto

Type something to start searching.