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