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

Function optionalNumberInput

src/lib/user-query.ts:196–200  ·  view source on GitHub ↗
(
		message: string,
		options?: NumberInputOptions,
)

Source from the content-addressed store, hash-verified

194}
195
196export const optionalNumberInput = async (
197 message: string,
198 options?: NumberInputOptions,
199): Promise<number | undefined> =>
200 internalNumberInput(message, { ...options, required: false })
201
202export const numberInput = async (
203 message: string,

Callers 3

getInputFromUserFunction · 0.85
getValidateFunctionFunction · 0.85
user-query.test.tsFile · 0.85

Calls 1

internalNumberInputFunction · 0.85

Tested by 1

getValidateFunctionFunction · 0.68