MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / isWildcard

Function isWildcard

packages/agent-core/src/tools/cron/cron-expr.ts:89–94  ·  view source on GitHub ↗
(field: string)

Source from the content-addressed store, hash-verified

87}
88
89function isWildcard(field: string): boolean {
90 // `*` and `*/n` both leave the field unconstrained in the
91 // "every value" sense — but only bare `*` should suppress the dom/dow
92 // OR rule. cron's tradition treats `*/n` as a restriction.
93 return field === '*';
94}
95
96function parseField(field: string, min: number, max: number, name: string): Set<number> {
97 if (field === '') {

Callers 1

parseCronExpressionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected