MCPcopy Create free account
hub / github.com/denoland/std / isItem

Function isItem

http/unstable_structured_fields.ts:394–396  ·  view source on GitHub ↗
(member: Item | InnerList)

Source from the content-addressed store, hash-verified

392 * ```
393 */
394export function isItem(member: Item | InnerList): member is Item {
395 return !("items" in member);
396}
397
398/**
399 * Checks if a list member is an Inner List.

Callers 3

resolveDictionaryMemberFunction · 0.90
verifyMessageFunction · 0.90
fnFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected