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 Another context object

Returns:

boolean