Skip to content

Interface: CurriedFunctionResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / CurriedFunctionResponse

Defined in: src/types/execution.ts:406

Response after creating a curried function.

canCurry: boolean

Defined in: src/types/execution.ts:408

Whether this function can be further curried.


curriedId: string

Defined in: src/types/execution.ts:410

Curried function ID.


functionName: string

Defined in: src/types/execution.ts:412

Function name.


isFullyApplied: boolean

Defined in: src/types/execution.ts:414

Whether all arguments have been provided.


missingPositions: number[]

Defined in: src/types/execution.ts:416

Positions of missing arguments.


originalArity: number

Defined in: src/types/execution.ts:418

Original arity of the function.


providedCount: number

Defined in: src/types/execution.ts:420

Number of arguments already provided.


remainingCount: number

Defined in: src/types/execution.ts:422

Number of remaining arguments needed.