Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ isInLineComment
Function
isInLineComment
packages/effect/src/sql/Statement.ts:1827–1827 ·
view source on GitHub ↗
(sql: string, index: number)
Source
from the content-addressed store, hash-verified
1825
const
emptyInKeyword = /\b(NOT\s+)?IN\s*$/i
1826
1827
const
isInLineComment = (sql: string, index: number) => sql.lastIndexOf(
"--"
, index) > sql.lastIndexOf(
"\n"
, index)
Callers
1
compile
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected