Function isNothing

  • Standalone type guard for 'nothing'

    Userful for passing as a predicate to collection transformers

    Type Parameters

    • R

      underlying value type

    Parameters

    • maybe: Maybe<R>

      Maybe instance

    Returns maybe is Nothing<never>

    'true' in case wrapped value is 'nothing' (and resolves argument type to be 'nothing')

Generated using TypeDoc