Something went wrong. Try again.
Yet another Fluxer bot built with TypeScript and Bun
Something went wrong. Try again.
TypeScript
at feat/sqlite
1234567import { COMMAND_META_KEY } from "@/decorators/command";import type { CommandCtor } from "@/types";
export function isCommandCtor(val: unknown): val is CommandCtor { return typeof val === "function" && Reflect.hasMetadata(COMMAND_META_KEY, val);}