MCPcopy Index your code
hub / github.com/code-hike/codehike / isWhitespace

Function isWhitespace

packages/codehike/src/code/types.ts:54–56  ·  view source on GitHub ↗
(token: Token | Whitespace)

Source from the content-addressed store, hash-verified

52}
53
54export function isWhitespace(token: Token | Whitespace): token is Whitespace {
55 return typeof token === "string"
56}
57
58/**
59 * Represents the basic structure for code data.

Callers 2

splitWhitespaceFunction · 0.85
joinWhitespaceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…