nextpyp.client.gen.none_map#
- nextpyp.client.gen.none_map(val, func)#
map the None value in the optional type, so we can avoid using intermediate variables and simplify the code generator
- Return type:
TypeVar(T)- Parameters:
val (T | None) –
func (Callable[[], T]) –