Page Contents

Home > @loopback/context > Binding > lock

Binding.lock() method

Lock the binding so that it cannot be rebound

Signature:

lock(): this;

Returns:

this