join


Description:


public CompareDataFunc<G> join<G> (owned CompareDataFunc<G> cmp, owned CompareDataFunc<G> cmp2)

Joins the given two compare functions and returns the combined compare function.

  1. It compares using cmp first
  2. If both are considered equal, it compares them using cmp2.

Parameters:

cmp

a compare function

cmp2

a compare function

Returns:

the new compare function


Namespace: Gpseq.Compares
Package: gpseq-1.0



2022 vala-language.org