[F] getReturnTypeVisibilityFilter
function getReturnTypeVisibilityFilter( program, operation, defaultProvider): VisibilityFilter
Get the visibility filter that should apply to the return type of the given operation, or undefined
if no return
type visibility is set.
Parameters
Parameter | Type | Description |
---|---|---|
program | Program | the Program in which the operation is defined |
operation | Operation | the Operation to get the return type visibility filter for |
defaultProvider | VisibilityProvider | a provider for visibility filters that apply when no visibility constraints are explicitly set. Defaults to an empty provider that returns an empty filter if not provided. |
Returns
a visibility filter for the return type of the operation, or undefined
if no return type visibility is set