one_match


Description:

public bool one_match<G> (Traversable<G> trav, Predicate<G> pred)

Checks if only one item in traversible matches the predicate

Hopefully, this function will be available in a future version of libgee-0.8.

Parameters:

trav

The traversible with the items to test

pred

The predicate to test items with

Returns:

If ony one item in traversible matches the predicate


Namespace: Geda3.GeeEx
Package: Gschem3