bynk-std 0.405.4

The Bynk standard library's first-party sources as data: the `bynk` surface, the Bynk-written commons, the `bynk.cloudflare` platform adapter, and their per-platform TypeScript bindings.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
commons bynk.string {
	---
	Concatenates `parts` into one string, inserting `sep` between adjacent
	elements. Returns the empty string for an empty list.
	---
	fn join(parts: List[String], sep: String) -> String {
		let init: Option[String] = None
		parts.fold(init, (acc, p) => match acc {
			Some(s) => Some(s.concat(sep).concat(p)),
			None => Some(p),
		}).getOrElse("")
	}
}