Explorer

http.field-get

description
The value of the first field named name (ignoring the case of ASCII letters)
type
Fn(fields: List<@http.field>, name: String) -> Union{#none, #some(String)}
expression
fn(fields$0, name$1) =>
  @http.field-get-from(fields: $0, lowercase_name: @std.ascii-lowercase(value: $1), index: 0)
visibility
public
http.field-get (project http, branch main, snapshot FuOge41aUHwwPZkx2JW6O-Emair6Jc-D5YsZf5cx6b0)
id: GkWKm8Q84SMgCDrjhOK28qXq4XmcdipQnIw-43KO7Ck
content hash: 0H9fR4KOpRTo3PhBWH5BepQWEJi7BhCXzkWXKGc1kDA