• Returns true if x and y are strictly equal. Same as y === x.

    Parameters

    • x: unknown

    Returns ((y) => boolean)

      • (y): boolean
      • Parameters

        • y: unknown

        Returns boolean

    Example

    equal(42)(42)
    // => true

Generated using TypeDoc