Function isJust

  • Standalone type guard for 'just'

    Userful for passing as a predicate to collection transformers

    Type Parameters

    • R

      underlying value type

    Parameters

    • maybe: Maybe<R>

      Maybe instance

    Returns maybe is Just<R>

    'true' in case wrapped value exists (and resolves argument type to be 'just')

Generated using TypeDoc