MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / normalizeUsername

Function normalizeUsername

biko/biko.ts:97–99  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

95 let date: Date;
96 if (input instanceof Date) {
97 date = input;
98 } else if (typeof input === "number") {
99 date = new Date(input * 1000);
100 } else if (typeof input === "bigint") {
101 date = new Date(Number(input) * 1000);
102 } else {

Callers 2

resolveSourceUserFunction · 0.85
matchesManualSelectorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected