freeze<T extends Function> static method

T freeze<T extends Function>(
  1. T f
)

Prevents the modification of existing property attributes and values, and prevents the addition of new properties. @param f Object on which to lock the attributes.

Implementation

static T freeze<T extends _i2.Function>(T f) => _i6.callMethod(
      _i7.target0,
      'freeze',
      [f],
    );