Skip to content

[V] VisibilityFilter

VisibilityFilter: object;
NameTypeDescription
fromDecoratorArgument()(filter) => VisibilityFilterConvert a TypeSpec GeneratedVisibilityFilter value to a VisibilityFilter.
getVisibilityClasses()(filter) => Set<Enum>Extracts the unique visibility classes referred to by the modifiers in a visibility filter.
toCacheKey()(program, filter) => stringConverts a visibility filter into a stable string representation. This can be used as a cache key for the filter that will be stable for filters that are not object-identical but are semantically identical.