![alt](README_splash.png)                                            

**tsfun-core | tsfun - functional combinator library for TypeScript**

see also: [tsfun](https://github.com/danielmarreirosdeoliveira/tsfun), [tsfun-extra](https://github.com/danielmarreirosdeoliveira/tsfun-extra) 

Contains functionality also used in tsfun, which is considered the main
tsfun library to be used. Functions not listed below get re-exported from
tsfun and should be consumed via these exports. The `-By` suffixed
functions are more flexible versions of their counterparts from tsfun and 
can be customized to use different comparator functions, where the tsfun versions
rely on triple equal comparison. The trade-off is that the non-suffixed versions 
are relatively efficient which is not guaranteed of the suffixed versions. 
 
--- 
 
## Function reference

### Comparator

* [differentFromBy](test/comparator/different_from_by.spec.ts)
* [includedInBy](test/comparator/included_in_by.spec.ts)
* [subsetOfBy](test/comparator/subset_of_by.spec.ts)
* [supersetOfBy](test/comparator/superset_of_by.spec.ts)
* [samesetBy](test/comparator/sameset_by.spec.ts)
* [arrayEqualBy](test/comparator/array_equal_by.spec.ts)
* [objectEqualBy](test/comparator/object_equal_by.spec.ts)
* [equalBy](test/comparator/equal_by.spec.ts)

### ArraySet

* [intersectionBy](test/arrayset/intersection_by.spec.ts)
* [intersectBy](test/arrayset/intersect_by.spec.ts)
* [subtractBy](test/arrayset/subtract_by.spec.ts)
* [unionBy](test/arrayset/union_by.spec.ts)
* [uniteBy](test/arrayset/unite_by.spec.ts)
* [uniqueBy](test/arrayset/unique_by.spec.ts)








