Interface AutoFiller<T>

interface AutoFiller<T> {
    fillAt(amount): T;
    fillTo(amount): T[];
}

Type Parameters

  • T

Methods

Methods

  • Similar to

    Parameters

    • amount: number

    Returns T

    See

    fillTo extend it only fills a single point. This is useful for preview

  • Returns an array of values filled to the amount

    • If a positive value is used this will will show forecasted points after the set provided.
    • If a negative value is use this will forecast before.

    Note - This will return null if the values are : null, empty, or an array with null values.

    Parameters

    • amount: number

    Returns T[]