-
Notifications
You must be signed in to change notification settings - Fork 10
Object.DeepInputOf
Michael Poteat edited this page Feb 27, 2023
·
3 revisions
hkt-toolbelt / Object / 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 | { ... } } }
-
↳
DeepInputOf
• Readonly
Abstract
[_]: unknown
▸ f(x
): DeepInputOf_T
<Kind
<Function
>>
Name | Type |
---|---|
x |
Kind <Function > |
Kind.Kind.f