InputParser
InputParser<
T> = (raw) =>T
Defined in: packages/actions/src/input-schema.ts:243
A function that parses a raw input record into a typed object, throwing InvalidInputError on failure. Returned by defineInput.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”Record<string, unknown>
Returns
Section titled “Returns”T