Skip to main content
Module

x/hex/mod.ts>fp.default

An ecosystem delivering practices, philosophy and portability.
Go to Latest
variable fp.default
import { fp } from "https://deno.land/x/hex@0.5.15/mod.ts";
const { default } = fp;

type

<T>(instance: Iterable<T>, n: number) => SplitArrayResult<T>

type

<T>(
state: T,
mutators: readonly MutatorType<T>[],
loggers?: readonly LoggerType<T>[],
) => Promise<T>

type

<T>(instance: Iterable<T>, items: Iterable<T>) => PickFromArrayResult<T>

type

<T1, T2 extends Record<string | number | symbol, (...args: readonly [...readonly T1[], ...any]) => any>>(funcs: T2, ...args: readonly T1[]) => unknown

type

(...funcs: readonly ComposableFunction[]) => ComposableFunction

type

<T>(instance: Record<string | number | symbol, T>, n: number) => SplitObjectResult<T>

type

<T>(instance: Record<string | number | symbol, T>, keys: readonly (string | number | symbol)[]) => PickFromObjectResult<T>

type

(...funcs: readonly ComposableFunction[]) => ComposableFunction

type

<T1, T2>(target: Decorated<T1, T2>, decorator: (...args: readonly [Decorated<T1, T2>, ...T1[]]) => T2) => unknown
function fp.default
import { fp } from "https://deno.land/x/hex@0.5.15/mod.ts";
const { default } = fp;

Type Parameters

T1 extends ObjectType
T2 extends ObjectType
TR extends T1 & T2

Parameters

instance: T1
other: T2