Lens Scripting API

    Represents a filter of some kind.

    interface default<T> {
        filter(sample: T, timestamp: number): T;
    }

    Type Parameters

    • T

    Implemented by

    Index

    Methods

    Methods

    • Applies filter to a sample

      Parameters

      • sample: T

        value to be filtered

      • timestamp: number

        timestamp when the sample was measured

      Returns T

    MMNEPVFCICPMFPCPTTAAATR