Home / Function/ isAbsoluteSize() — tailwindcss Function Reference

isAbsoluteSize() — tailwindcss Function Reference

Architecture documentation for the isAbsoluteSize() function in infer-data-type.ts from the tailwindcss codebase.

Entity Profile

Relationship Graph

Source Code

packages/tailwindcss/src/utils/infer-data-type.ts lines 148–159

function isAbsoluteSize(value: string): boolean {
  return (
    value === 'xx-small' ||
    value === 'x-small' ||
    value === 'small' ||
    value === 'medium' ||
    value === 'large' ||
    value === 'x-large' ||
    value === 'xx-large' ||
    value === 'xxx-large'
  )
}

Subdomains

Analyze Your Own Codebase

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

Try Supermodel Free