onValue

Registers a callback to be executed when this option's value is found during parsing. The callback receives the converted non-null value and is executed after all parsing and validation completes.

Return

This builder for method chaining

Parameters

callback

Function to call with the parsed value