@mikuroxina/mini-fn
    Preparing search index...

    Function isSomeAnd

    • Checks an Option is a Some and satisfies the predicate pred.

      It is equivalent to !isNoneOr((item) => !pred(item)).

      Type Parameters

      • T

      Parameters

      • pred: (item: T) => boolean

        The predicate to check.

      Returns (opt: Option.Option<T>) => boolean

      Whether the condition is satisfied.