Skip to content

Object.DeepInputOf

Michael Poteat edited this page Feb 27, 2023 · 3 revisions

hkt-toolbelt / Object / DeepInputOf

Interface: DeepInputOf

Object.DeepInputOf

Given a higher-kinded type K, returns a union of either the input of K, or a recursive object whose values are exclusively the input of K.

Example

$<Object.DeepInputOf, Number.IsInteger>>
// number | { [key: string]: number | { [key: string]: number | { ... } } }

Hierarchy

  • Kind

    DeepInputOf

Properties

[_]

Readonly Abstract [_]: unknown

Inherited from

Kind.[_]

Defined in

kind/kind.ts:10

Methods

f

f(x): DeepInputOf_T<Kind<Function>>

Parameters

Name Type
x Kind<Function>

Returns

DeepInputOf_T<Kind<Function>>

Overrides

Kind.Kind.f

Defined in

object/deep-input-of.ts:20

Clone this wiki locally