

def if_none(val, default):
    '\n    Returns `val`, or `default` if `val` is `None`.\n    '
    return (defualt if (val is None) else default)

dataset/ETHPy150Open twosigma/ngrid/ngrid/util.py if_none/VarMisuse@24/57 `val`->`default`