Unary function input type.
This type is used to get the input type of a Unary function.
const unary: Unary<number, string> = number => `${number}`;UnaryInput<typeof unary> // `number` Copy
const unary: Unary<number, string> = number => `${number}`;UnaryInput<typeof unary> // `number`
Unary
Type of the unary function to get the input type of.
Unary function input type.
Remarks
This type is used to get the input type of a Unary function.
Example
See
Unary