Home / Function/ never() — tailwindcss Function Reference

never() — tailwindcss Function Reference

Architecture documentation for the never() function in decode-arbitrary-value.ts from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  ff5d6b20_b7fa_36f1_f725_8c6eef8a2865["never()"]
  a52e2033_0772_657a_056f_09549bf75895["never()"]
  a52e2033_0772_657a_056f_09549bf75895 -->|calls| ff5d6b20_b7fa_36f1_f725_8c6eef8a2865
  5666e99d_13d5_2782_fe94_78f3f4fb3234["recursivelyDecodeArbitraryValues()"]
  5666e99d_13d5_2782_fe94_78f3f4fb3234 -->|calls| ff5d6b20_b7fa_36f1_f725_8c6eef8a2865
  style ff5d6b20_b7fa_36f1_f725_8c6eef8a2865 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/tailwindcss/src/utils/decode-arbitrary-value.ts lines 91–93

function never(value: never): never {
  throw new Error(`Unexpected value: ${value}`)
}

Domain

Subdomains

Frequently Asked Questions

What does never() do?
never() is a function in the tailwindcss codebase.
What calls never()?
never() is called by 2 function(s): never, recursivelyDecodeArbitraryValues.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free