MCPcopy Index your code
hub / github.com/FlowiseAI/Flowise / get

Function get

packages/server/src/services/schedule/utils.ts:247–247  ·  view source on GitHub ↗
(type: string)

Source from the content-addressed store, hash-verified

245 try {
246 const parts = fmt.formatToParts(date)
247 const get = (type: string) => parseInt(parts.find((p) => p.type === type)?.value ?? '0', 10)
248 const weekdayStr = parts.find((p) => p.type === 'weekday')?.value ?? 'Sun'
249 minute = get('minute')
250 hour = get('hour') % 24

Callers 12

_callMethod · 0.85
customGetFunction · 0.85
replaceMetadataFunction · 0.85
processTemplateVariablesFunction · 0.85
_showHideOperationFunction · 0.85
resolveWebhookRefsFunction · 0.85
resolveNodeReferenceFunction · 0.85
getVariableValueFunction · 0.85
_cronMatchesParsedFunction · 0.85
cronDomMatchesNowFunction · 0.85
_showHideOperationFunction · 0.85
resolveGroundValueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected