Skip to content

SkipPrivatePropertyTransformer

A transformer that skips private properties.

Import:

import { SkipPrivatePropertyTransformer } from 'obsidian-dev-utils/transformers/skip-private-property-transformer';

Signature:

export class SkipPrivatePropertyTransformer extends Transformer

Extends: Transformer

Methods

MethodReturnsDescription
canTransform(_value, key)booleanDetermines if the transformer can transform the given value.
canTransform(value, key)booleanDetermines if the transformer can transform the given value.
(Inherited from Transformer)
getTransformer(transformerId)TransformerGets the transformer with the given id.
(Inherited from Transformer)
getTransformerId(value, key)null | stringGets the id of the transformer that can transform the given value.
(Inherited from Transformer)
restoreValue()unknownRestores the given value.
restoreValue(transformedValue, key)unknownRestores the given value.
(Inherited from Transformer)
transformObjectRecursively(value)GenericObjectTransforms the given object recursively.
(Inherited from Transformer)
transformValue()unknownTransforms the given value.
transformValue(value, key)unknownTransforms the given value.
(Inherited from Transformer)