Skip to content

Interface: CurriedFunctionResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Execution / CurriedFunctionResponse

Interface: CurriedFunctionResponse

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

Response after creating a curried function.

Properties

canCurry

canCurry: boolean

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

Whether this function can be further curried.


curriedId

curriedId: string

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

Curried function ID.


functionName

functionName: string

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

Function name.


isFullyApplied

isFullyApplied: boolean

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

Whether all arguments have been provided.


missingPositions

missingPositions: number[]

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

Positions of missing arguments.


originalArity

originalArity: number

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

Original arity of the function.


providedCount

providedCount: number

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

Number of arguments already provided.


remainingCount

remainingCount: number

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

Number of remaining arguments needed.