Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ascorbic/og-edge
/ getIconCode
Function
getIconCode
emoji.ts:31–33 ·
view source on GitHub ↗
(char: string)
Source
from the content-addressed store, hash-verified
29
}
30
31
export
function
getIconCode(char: string): string {
32
return
d(char.indexOf(n) < 0 ? char.replace(O,
""
) : char);
33
}
34
35
function
d(j: string) {
36
const
t = [];
Callers
1
fn
Function · 0.90
Calls
1
d
Function · 0.85
Tested by
no test coverage detected