Interface: ReplEval

January 18, 2022 · View on GitHub

Kui API Documentation - v11.0.0 / @kui-shell/core / ReplEval

Interface: ReplEval

@kui-shell/core.ReplEval

Apply the given evaluator to the given arguments

Implemented by

Table of contents

Properties

Methods

Properties

name

name: string

Defined in

packages/core/src/repl/types.ts:40

Methods

apply

apply<T, O>(commandUntrimmed, execOptions, evaluator, args): T | Promise<T>

Type parameters

NameType
Textends KResponse<any>
Oextends ParsedOptions

Parameters

NameType
commandUntrimmedstring
execOptionsExecOptions
evaluatorEvaluator<T, O>
argsArguments<O>

Returns

T | Promise<T>

Defined in

packages/core/src/repl/types.ts:41