Skip to content

TypeAlias.ThreeStepsForwardTwoStepsBack

github-actions[bot] edited this page Jun 18, 2026 · 34 revisions

umt / ThreeStepsForwardTwoStepsBack

Type Alias: ThreeStepsForwardTwoStepsBack<T>

ThreeStepsForwardTwoStepsBack<T> = T extends 1 ? 1 : T extends 2 ? 2 : T extends 3 ? 3 : Add<3, Multiply<3, Subtract<T, 3>>>

Defined in: types/joke/threeStepsForwardTwoStepsBack.ts:5

Type Parameters

T

T extends number

API

Classes

Interfaces

Type Aliases

Variables

Functions

Clone this wiki locally