Page Contents
Home > @loopback/context > BindingKey > validate
BindingKey.validate() method
Validate the binding key format. Please note that # is reserved. Returns a string representation of the binding key.
Signature:
static validate<T>(key: BindingAddress<T>): string;
Parameters
| Parameter | Type | Description |
|---|---|---|
|
key |
Binding key, such as |
Returns:
string