Page Contents
Home > @loopback/context > Context > isVisibleTo
Context.isVisibleTo() method
Check if this context is visible (same or ancestor) to the given one
Signature:
isVisibleTo(ctx: Context): boolean;
Parameters
| Parameter | Type | Description |
|---|---|---|
| ctx | [Context](/doc/en/lb4/apidocs.context.context.html) | Another context object |
Returns:
boolean