optics-core-0.4.1: Optics as an abstract interface: core definitions
Safe HaskellNone
LanguageHaskell2010

Optics.Core.Extras

Synopsis

Documentation

is :: Is k An_AffineFold => Optic' k is s a -> s -> Bool Source #

Check to see if this AffineFold matches.

>>> is _Just Nothing
False

Since: 0.4.1