Uneventful
    Preparing search index...

    Function stabilizer

    • Create a shorthand version of stable(), pre-bound to a specific comparison function.

      Type Parameters

      • T

        The type of value the comparison function works on

      Parameters

      • equals: <T>(v1: T, v2: T) => boolean

        The comparison function to use

      Returns <R>(newVal: R) => R