MCPcopy
hub / github.com/tailwindlabs/tailwindcss / lastLine

Function lastLine

scripts/pack-packages.mjs:70–74  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

68}
69
70function lastLine(str) {
71 let index = str.lastIndexOf('\n')
72 if (index === -1) return str
73 return str.slice(index + 1)
74}

Callers 1

packFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected