UNPKG

mocoolka-function

Version:

Function lib for function.

31 lines (30 loc) 1.11 kB
export * from './symbols'; import and from './and'; import constant from './constant'; import compose from './compose'; import create from './create'; import curry from './curry'; import curryN from './curryN'; import curryR from './curryR'; import defaultTo from './defaultTo'; import getName from './getName'; import identity from './identity'; import ifElse from './ifElse'; import isNothing from './isNothing'; import neg from './neg'; import not from './not'; import noop from './noop'; import or from './or'; import setName from './setName'; import swap from './swap'; import thunk from './thunk'; import toString from './toString'; import unless from './unless'; import when from './when'; declare const T: () => any; declare const F: () => any; export interface IPredicate { (a: any): boolean; } declare const notPredicate: (predicate: IPredicate) => IPredicate; export { and, constant, compose, create, curry, curryN, curryR, defaultTo, getName, identity, ifElse, isNothing, neg, not, noop, notPredicate, or, setName, thunk, swap, toString, unless, when, T, F };