Function isNothing

  • Is the Maybe a Nothing?

    Type Parameters

    • T

      The type of the item contained in the Maybe.

    Parameters

    • maybe: Maybe<T>

      The Maybe to check.

    Returns maybe is Nothing<T>

    A type guarded Nothing.