MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / user

Function user

packages/ast/parse/slack/spec-helpers/index.js:33–40  ·  view source on GitHub ↗
(id, label)

Source from the content-addressed store, hash-verified

31}
32
33function user(id, label) {
34 return {
35 type: 'user',
36 id,
37 label,
38 source: `<@${id}${label ? '|' + source(label) : ''}>`,
39 };
40}
41
42function channel(id, label) {
43 return {

Callers 1

index.spec.jsFile · 0.50

Calls 1

sourceFunction · 0.70

Tested by

no test coverage detected