Optics.Core.Extras
is :: forall k (is :: IxList) s a. Is k An_AffineFold => Optic' k is s a -> s -> Bool Source #
Check to see if this AffineFold matches.
AffineFold
>>> is _Just Nothing False
>>>
is _Just Nothing
Since: 0.4.1