Page Contents

Home > @loopback/context > ContextView > asGetter

ContextView.asGetter() method

As a Getter function

Signature:

asGetter(session?: ResolutionOptionsOrSession): Getter<T[]>;

Parameters

Parameter Type Description
session ResolutionOptionsOrSession (Optional)

Returns:

Getter<T[]>