html-ui.line-value
- description
- The value of the last line 'key: value' of lines ('' if there is none)
- type
Fn(lines: List<String>, key: String) -> String
- expression
fn(lines$0, key$1) => let prefix$2 = @core.string-concat(left: $1, right: ": "); @core.list-fold( T: String, A: String, reducer: fn(acc$3, item$4) => match @std.string-starts-with(value: $4, prefix: $2) { true => @core.string-slice(value: $4, start: @core.string-length(value: $2), end: @core.string-length(value: $4)), false => $3 }, init: "", xs: $0 )
- visibility
- public
html-ui.line-value (project html-ui, branch main, snapshot Daaw3vbJhY15cDW6JsA4JuXvffjj_qFyxoZQMUM8hvQ) id: cuQySylHuu4mLb7mhjO5fozNccJtadadfqjPBuCIp4k content hash: _h2QV1YDdtxgv8VCrXTJgdFFFV8voc6DfZbGWJZ1_4I