t-tasks
    Preparing search index...

    Function isNothing

    • Standalone type guard for 'nothing'

      Useful for passing as a predicate to collection transformers

      Type Parameters

      • R

        underlying value type

      Parameters

      • maybe: Maybe<R>

        Maybe instance

      Returns maybe is Nothing<R>

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