com.jnape.palatable.lambda.functions.builtin.fn1

## Class Empty<A>

- java.lang.Object
- - com.jnape.palatable.lambda.functions.builtin.fn1.Empty<A>

- Type Parameters:
    `A` - the iterable element type
  All Implemented Interfaces:
    Fn1<Iterable<A>,Boolean>, Predicate<Iterable<A>>, Applicative<Boolean,Fn1<Iterable<A>,?>>, Cartesian<Iterable<A>,Boolean,Fn1<?,?>>, Cocartesian<Iterable<A>,Boolean,Fn1<?,?>>, Contravariant<Iterable<A>,Profunctor<?,Boolean,Fn1<?,?>>>, Functor<Boolean,Fn1<Iterable<A>,?>>, Profunctor<Iterable<A>,Boolean,Fn1<?,?>>, Monad<Boolean,Fn1<Iterable<A>,?>>, MonadReader<Iterable<A>,Boolean,Fn1<Iterable<A>,?>>, MonadRec<Boolean,Fn1<Iterable<A>,?>>, MonadWriter<Iterable<A>,Boolean,Fn1<Iterable<A>,?>>

      public final class Empty<A>
      extends Object
      implements Predicate<Iterable<A>>

  A predicate that returns true if `as` is empty; false otherwise.

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Boolean` | `checkedApply(Iterable<A> as)` Invoke this function with the given argument, potentially throwing any `Throwable`.
    `static <A> Empty<A>` | `empty()`
    `static <A> Boolean` | `empty(Iterable<A> as)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface com.jnape.palatable.lambda.functions.specialized.Predicate

      `and, compose, contraMap, diMapL, discardR, fromPredicate, negate, or, predicate, toPredicate, widen`

    - ### Methods inherited from interface com.jnape.palatable.lambda.functions.Fn1

      `andThen, apply, carry, cartesian, censor, choose, cocartesian, diMap, diMapR, discardL, flatMap, fmap, fn1, fromFunction, lazyZip, listens, local, pure, pureFn1, thunk, toFunction, trampolineM, zip, zip`

    - ### Methods inherited from interface com.jnape.palatable.lambda.monad.Monad

      `join`

    - ### Methods inherited from interface com.jnape.palatable.lambda.functor.Functor

      `coerce`

- - ### Method Detail

    - #### checkedApply

          public Boolean checkedApply(Iterable<A> as)

      Description copied from interface: `Fn1`
      Invoke this function with the given argument, potentially throwing any `Throwable`.
      Specified by:
        `checkedApply` in interface `Fn1<Iterable<A>,Boolean>`
      Parameters:
        `as` - the argument
      Returns:
        the result of the function application

    - #### empty

          public static <A> Empty<A> empty()

    - #### empty

          public static <A> Boolean empty(Iterable<A> as)