MCPcopy Index your code
hub / github.com/appwrite/sdk-for-react-native / normalize

Function normalize

src/channel.ts:18–21  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

16type Actionable = Document | Row | File | Team | Membership;
17
18function normalize(id: string): string {
19 const trimmed = id.trim();
20 return trimmed === "" ? "*" : trimmed;
21}
22
23export class Channel<T> {
24 declare _type: T;

Callers 8

nextMethod · 0.85
databaseMethod · 0.85
tablesdbMethod · 0.85
bucketMethod · 0.85
functionMethod · 0.85
executionMethod · 0.85
teamMethod · 0.85
membershipMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected