Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/hex/src/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/src/mod.ts";
const { default } = fp;

type

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

type

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

type

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

type

<T>(instance: Iterable<T>, n: number) => SplitArrayResult<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

<T1, T2>(target: Decorated<T1, T2>, decorator: (...args: readonly [Decorated<T1, T2>, ...T1[]]) => T2) => unknown

type

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

type

<T>(instance: Record<string | number | symbol, T>, n: number) => SplitObjectResult<T>
function fp.default
import { fp } from "https://deno.land/x/hex@0.5.15/src/mod.ts";
const { default } = fp;

Type Parameters

T extends Record<string | number | symbol, any>

Parameters

instance: T