Skip to content

Conditional.If_T3

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

hkt-toolbelt / Conditional / If_T3

Interface: If_T3<Predicate, Then, Else>

Conditional.If_T3

Type parameters

Name Type
Predicate extends Kind<(x: never) => boolean>
Then extends Kind
Else extends Kind

Hierarchy

Properties

[_]

Readonly Abstract [_]: unknown

Inherited from

Kind.[_]

Defined in

kind/kind.ts:10

Methods

f

f(x): _$if<Predicate, Then, Else, _$cast<unknown, _$inputOf<Predicate>>>

Parameters

Name Type
x _$cast<unknown, _$inputOf<Predicate>>

Returns

_$if<Predicate, Then, Else, _$cast<unknown, _$inputOf<Predicate>>>

Overrides

Kind.Kind.f

Defined in

conditional/if.ts:17

Clone this wiki locally