Skip to content

Documentation


Documentation / @blazetrails/activemodel / completeHalfAccessor

Function: completeHalfAccessor() ​

completeHalfAccessor(klass, name, half, fn): void

Defined in: packages/activemodel/lib/attribute-methods.ts:597

Parameters ​

ParameterType
klassunknown
namestring
half"set" | "get"
fn(this, ...args) => unknown

Returns ​

void

No Rails Equivalent ​

PERMANENT