A codec that only succeeds decoding when the value is exactly what you've constructed the codec with

  • Type Parameters

    • T extends (string | number | boolean)[]

    Parameters

    • ...expectedValues: T

    Returns functional.Codec<T[number]>