Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/denoland/std
/ string
Function
string
http/unstable_structured_fields.ts:199–201 ·
view source on GitHub ↗
(value: string)
Source
from the content-addressed store, hash-verified
197
* ```
198
*/
199
export
function
string(value: string): Extract<BareItem, {
type
:
"string"
}> {
200
return
{
type
:
"string"
, value };
201
}
202
203
/**
204
* Creates a token Bare Item.
Callers
2
fn
Function · 0.90
convertExpectedBareItem
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected