Skip to content

Documentation


Documentation / @blazetrails/activesupport / safeConstantize

Function: safeConstantize() ​

Call Signature ​

safeConstantize<K>(camelCasedWord): ConstantTable[K] | null

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

Type Parameters ​

Type Parameter
K extends never

Parameters ​

ParameterType
camelCasedWordK

Returns ​

ConstantTable[K] | null

Call Signature ​

safeConstantize(camelCasedWord): unknown

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

Parameters ​

ParameterType
camelCasedWordstring

Returns ​

unknown