Returns a function that checks equality with value

  • Type Parameters

    • T

    Parameters

    Returns (x: T) => boolean