optionalNestedConfig = (value, fn) =>
	value === undefined ? undefined : fn(value)
@template T
@template R
@param {T | undefined} value value or not
@param {(value: T) => R} fn nested handler
@returns {R | undefined} result value