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
  550e864b_848d_0e80_df36_f9369ce68354["never()"]
  e90d9c51_31f0_3175_a861_610a15e277e5["decode-arbitrary-value.ts"]
  550e864b_848d_0e80_df36_f9369ce68354 -->|defined in| e90d9c51_31f0_3175_a861_610a15e277e5
  4db2d742_bd4a_b2c3_a087_2fc273e1907e["never()"]
  4db2d742_bd4a_b2c3_a087_2fc273e1907e -->|calls| 550e864b_848d_0e80_df36_f9369ce68354
  a409a820_0c6d_1955_f58f_c67b20671bd8["recursivelyDecodeArbitraryValues()"]
  a409a820_0c6d_1955_f58f_c67b20671bd8 -->|calls| 550e864b_848d_0e80_df36_f9369ce68354
  style 550e864b_848d_0e80_df36_f9369ce68354 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, defined in packages/tailwindcss/src/utils/decode-arbitrary-value.ts.
Where is never() defined?
never() is defined in packages/tailwindcss/src/utils/decode-arbitrary-value.ts at line 91.
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