@sports-app/shared — the wire contract
    Preparing search index...

    Function isPattern

    • Pure guards over the scalars above, and the only functions in this file.

      They are here rather than in either runtime because both ends narrow the same strings: the codec validating a hand-edited document, and — once the service validates against a schema derived from these types — the service too. A guard over a union declared here is validation, not behaviour.

      Parameters

      • value: unknown

      Returns value is Pattern