This is part of the Fake.Core.String module.

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:'?9417 option -> f:('?9417 -> string) -> builder:StringBuilder -> StringBuilder
Type parameters: '?9417

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:'?9425 -> string -> StringBuilder -> StringBuilder
Type parameters: '?9425

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:'?9430 list -> action:('?9430 -> '?9431 -> StringBuilder -> '?9432) -> text:'?9431 -> builder:StringBuilder -> StringBuilder
Type parameters: '?9430, '?9431, '?9432

Applies action on builder for each element of list.

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

Returns the text from the StringBuilder