@jiminp/tooltool
    Preparing search index...

    Type Alias TransformFunction<T>

    TransformFunction: ((t: T) => T | undefined) | ((t: T) => void)

    A synchronous transform function that takes a value and optionally returns a transformed value.

    Type Parameters

    • T

      The type of the value being transformed.

    The value to transform.

    The transformed value, or undefined if the transformation was done in-place or no change is needed.

    applyTransforms for applying multiple transform functions.