tsfun-core

Functional Combinators for TypeScript

Usage no npm install needed!

<script type="module">
  import tsfunCore from 'https://cdn.skypack.dev/tsfun-core';
</script>

README

alt

tsfun-core | tsfun - functional combinator library for TypeScript

see also: tsfun, 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

ArraySet