Page Contents

Home > @loopback/context > Context > isBound

Context.isBound() method

Check if a key is bound in the context or its ancestors

Signature:

isBound(key: BindingAddress): boolean;

Parameters

Parameter Type Description
key BindingAddress Binding key

Returns:

boolean