• Convert a nilable into an optional argument. This means null is normalized to undefined.

    Type Parameters

    • T

    Parameters

    • nilable: Maybe<T>

      The subject to convert to an optional.

    Returns T | undefined

    The value, normalized to undefined, if it was nil.