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
Modifiers: inline

Appends a text to a StringBuilder.

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

Appends all notnull fileNames.

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

Appends a text if the predicate is false.

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

Appends a text if the value is not null.

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

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

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

Appends string of function value if option has some value

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

Appends a text if the predicate is true.

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

Appends a quoted text if the value is not null.

StringBuilder.appendStringIfValueIsNotNull(...)
Signature: value:'?9110 -> string -> StringBuilder -> StringBuilder
Modifiers: inline
Type parameters: '?9110

Appends a text if the value is not null.

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

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

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

Appends a text to a StringBuilder without surrounding quotes.

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

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

StringBuilder.forEach(...)
Signature: items:'?9115 list -> action:('?9115 -> '?9116 -> StringBuilder -> '?9117) -> text:'?9116 -> builder:StringBuilder -> StringBuilder
Modifiers: inline
Type parameters: '?9115, '?9116, '?9117

Applies action on builder for each element of list.

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

Returns the text from the StringBuilder