← Back

Source

unsafeCoerce

const unsafeCoerce: <A, B>(a: A) => B

Added in v1.0.0 (constant)

and

<A>(p1: Predicate<A>, p2: Predicate<A>): Predicate<A>

Added in v1.0.0 (function)

apply

<A, B>(f: (a: A) => B) => (a: A): B

Added in v1.0.0 (function)

Applies a function to an argument ($)

applyFlipped

<A>(a: A) => <B>(f: (a: A) => B): B

Added in v1.0.0 (function)

Applies an argument to a function (#)

compose

compose(...fns: Array<Function>): Function

Added in v1.0.0 (function)

concat

<A>(x: Array<A>, y: Array<A>): Array<A>

Added in v1.0.0 (function)

constFalse

(): boolean

Added in v1.0.0 (function)

A thunk that returns always false

constIdentity

(): (<A>(a: A) => A)

Added in v1.5.0 (function)

A thunk that returns always the identity function. For use with applySecond methods.

constNull

(): null

Added in v1.0.0 (function)

A thunk that returns always null

constTrue

(): boolean

Added in v1.0.0 (function)

A thunk that returns always true

constUndefined

(): undefined

Added in v1.0.0 (function)

A thunk that returns always undefined

constant

<A>(a: A): Lazy<A>

Added in v1.0.0 (function)

curry

curry(f: Function)

Added in v1.0.0 (function)

decrement

(n: number): number

Added in v1.9.0 (function)

flip

<A, B, C>(f: Curried2<A, B, C>): Curried2<B, A, C>

Added in v1.0.0 (function)

Flips the order of the arguments to a function of two arguments.

identity

<A>(a: A): A

Added in v1.0.0 (function)

increment

(n: number): number

Added in v1.9.0 (function)

not

<A>(predicate: Predicate<A>): Predicate<A>

Added in v1.0.0 (function)

on

<B, C>(op: BinaryOperation<B, C>) => <A>(f: (a: A) => B): BinaryOperation<A, C>

Added in v1.0.0 (function)

The on function is used to change the domain of a binary operator.

or

or<A>(p1: Predicate<A>, p2: Predicate<A>): Predicate<A>

Added in v1.0.0 (function)

pipe

pipe(...fns: Array<Function>): Function

Added in v1.0.0 (function)

toString

(x: any): string

Added in v1.0.0 (function)

tuple

<A, B>(a: A, b: B): [A, B]

Added in v1.0.0 (function)

tupleCurried

<A>(a: A) => <B>(b: B): [A, B]

Added in v1.0.0 (function)