Skip to content

Documentation


Documentation / @blazetrails/activesupport / constantize

Function: constantize() ​

Call Signature ​

constantize<K>(camelCasedWord): ConstantTable[K]

Defined in: packages/activesupport/lib/inflector.ts:188

Type Parameters ​

Type Parameter
K extends never

Parameters ​

ParameterType
camelCasedWordK

Returns ​

ConstantTable[K]

Call Signature ​

constantize(camelCasedWord): unknown

Defined in: packages/activesupport/lib/inflector.ts:189

Parameters ​

ParameterType
camelCasedWordstring

Returns ​

unknown