MCPcopy Create free account
hub / github.com/SmartThingsCommunity/smartthings-cli / integerInput

Function integerInput

src/lib/user-query.ts:143–144  ·  view source on GitHub ↗
(message: string, options?: IntegerInputOptions<number>)

Source from the content-addressed store, hash-verified

141 * which may be empty (unless a validation function is specified which disallows it).
142 */
143export const integerInput = async (message: string, options?: IntegerInputOptions<number>): Promise<number> =>
144 await internalIntegerInput(message, { ...options, required: true }) as number
145
146
147export type NumberInputOptions = {

Callers 3

buildFromUserInputFunction · 0.85
updateFromUserInputFunction · 0.85
user-query.test.tsFile · 0.85

Calls 1

internalIntegerInputFunction · 0.85

Tested by

no test coverage detected