StringBuilder

Nested types and modules

TypeDescription
String
StringBuilder

Functions and values

Function or valueDescription
StringBuilder.append text builder
Signature: text:string -> builder:StringBuilder -> StringBuilder

Appends a text to a StringBuilder.

StringBuilder.appendFileNamesIfNotNull(...)
Signature: fileNames:seq<string> -> builder:StringBuilder -> StringBuilder

Appends all notnull fileNames.

StringBuilder.appendIfFalse(p)
Signature: p:bool -> string -> StringBuilder -> StringBuilder

Appends a text if the predicate is false.

StringBuilder.appendIfNotNull value s
Signature: value:Object -> s:string -> StringBuilder -> StringBuilder

Appends a text if the value is not null.

StringBuilder.appendIfNotNullOrEmpty(...)
Signature: value:string -> s:string -> StringBuilder -> StringBuilder

Appends a text if the value is not null or empty.

StringBuilder.appendIfSome o f builder
Signature: o:'?9612 option -> f:('?9612 -> string) -> builder:StringBuilder -> StringBuilder
Type parameters: '?9612

Appends string of function value if option has some value

StringBuilder.appendIfTrue p s builder
Signature: p:bool -> s:string -> builder:StringBuilder -> StringBuilder

Appends a text if the predicate is true.

StringBuilder.appendIfTrueWithoutQuotes(...)
Signature: p:bool -> s:string -> builder:StringBuilder -> StringBuilder
StringBuilder.appendQuotedIfNotNull(...)
Signature: value:Object -> s:string -> builder:StringBuilder -> StringBuilder

Appends a quoted text if the value is not null.

StringBuilder.appendStringIfValueIsNotNull(...)
Signature: value:'?9620 -> string -> StringBuilder -> StringBuilder
Type parameters: '?9620

Appends a text if the value is not null.

StringBuilder.appendStringIfValueIsNotNullOrEmpty(...)
Signature: value:string -> string -> StringBuilder -> StringBuilder

Appends a text if the value is not null or empty.

StringBuilder.appendWithoutQuotes(...)
Signature: text:string -> builder:StringBuilder -> StringBuilder

Appends a text to a StringBuilder without surrounding quotes.

StringBuilder.appendWithoutQuotesIfNotNull(...)
Signature: value:Object -> s:string -> StringBuilder -> StringBuilder

Appends a text without quoting if the value is not null.

StringBuilder.forEach(...)
Signature: items:'?9625 list -> action:('?9625 -> '?9626 -> StringBuilder -> '?9627) -> text:'?9626 -> builder:StringBuilder -> StringBuilder
Type parameters: '?9625, '?9626, '?9627

Applies action on builder for each element of list.

StringBuilder.toText(builder)
Signature: builder:StringBuilder -> string

Returns the text from the StringBuilder