Home / Function/ never() — tailwindcss Function Reference

never() — tailwindcss Function Reference

Architecture documentation for the never() function in candidate.ts from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  4db2d742_bd4a_b2c3_a087_2fc273e1907e["never()"]
  669e6a28_c71f_3c5e_9c53_915cede7da78["candidate.ts"]
  4db2d742_bd4a_b2c3_a087_2fc273e1907e -->|defined in| 669e6a28_c71f_3c5e_9c53_915cede7da78
  90af3061_98c6_bbc0_b56e_ef2a73fdc21a["recursivelyEscapeUnderscores()"]
  90af3061_98c6_bbc0_b56e_ef2a73fdc21a -->|calls| 4db2d742_bd4a_b2c3_a087_2fc273e1907e
  550e864b_848d_0e80_df36_f9369ce68354["never()"]
  4db2d742_bd4a_b2c3_a087_2fc273e1907e -->|calls| 550e864b_848d_0e80_df36_f9369ce68354
  style 4db2d742_bd4a_b2c3_a087_2fc273e1907e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/tailwindcss/src/candidate.ts lines 1170–1172

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

Domain

Subdomains

Calls

Frequently Asked Questions

What does never() do?
never() is a function in the tailwindcss codebase, defined in packages/tailwindcss/src/candidate.ts.
Where is never() defined?
never() is defined in packages/tailwindcss/src/candidate.ts at line 1170.
What does never() call?
never() calls 1 function(s): never.
What calls never()?
never() is called by 1 function(s): recursivelyEscapeUnderscores.

Analyze Your Own Codebase

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

Try Supermodel Free