asInputValue

Converts the input to its corresponding InputValue type