MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / lowerFirst

Function lowerFirst

src/resolution/swift-objc-bridge.ts:50–52  ·  view source on GitHub ↗

* Lowercase the first character. Used in reverse: `setName:` setter ↔ * Swift property `name`.

(s: string)

Source from the content-addressed store, hash-verified

48 * Swift property `name`.
49 */
50function lowerFirst(s: string): string {
51 return s.length > 0 ? s.charAt(0).toLowerCase() + s.slice(1) : s;
52}
53
54/**
55 * Compute the auto-bridged ObjC selector for a Swift method declaration.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected