Files
NapCatQQ/.pnpm-store/v3/files/0c/bbd0eee407656d786ec00c42d1ac2e1a76d23e1ceb1af33d3ff2b84a06aa90d7782800c66ac9485e026155c9792dd7c4630c31d6bde86ead874162e022a332
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

8 lines
348 B
Plaintext

import { Tuple } from '../tuple/index.mjs';
import { Never } from '../never/index.mjs';
import * as KindGuard from '../guard/kind.mjs';
/** `[JavaScript]` Extracts the Parameters from the given Function type */
export function Parameters(schema, options) {
return (KindGuard.IsFunction(schema) ? Tuple(schema.parameters, options) : Never());
}