• Skip to main content
  • Skip to search
  • Skip to select language
MDN Web Docs
  • References
    • Overview / Web Technology

      Web technology reference for developers

    • HTML

      Structure of content on the web

    • CSS

      Code used to describe document style

    • JavaScript

      General-purpose scripting language

    • HTTP

      Protocol for transmitting web resources

    • Web APIs

      Interfaces for building web applications

    • Web Extensions

      Developing extensions for web browsers

    • Accessibility

      Build web projects usable for all

    • Web Technology

      Web technology reference for developers

  • Learn
    • Overview / MDN Learning Area

      Learn web development

    • MDN Learning Area

      Learn web development

    • HTML

      Learn to structure web content with HTML

    • CSS

      Learn to style content using CSS

    • JavaScript

      Learn to run scripts in the browser

    • Accessibility

      Learn to make the web accessible to all

  • Curriculum New
  • Blog
    • Playground

      Write, test and share your code

    • HTTP Observatory

      Scan a website for free

    • AI Help

      Get real-time assistance and support

  • Log in
  • Sign up for free
  1. Web
  2. Web APIs
  3. CSSFunctionRule
  4. returnType

In this article

  • Value
  • Examples
  • Specifications
  • Browser compatibility
  • See also
  1. CSS Object Model (CSSOM)
  2. CSSFunctionRule
  3. Instance properties
    1. name
    2. returnType
  4. Instance methods
    1. getParameters()
  5. Inheritance
    1. CSSGroupingRule
    2. CSSRule
  6. Related pages for CSSOM
    1. CSS
    2. CSSConditionRule
    3. CSSFontFeatureValuesRule
    4. CSSFontPaletteValuesRule
    5. CSSFunctionDeclarations
    6. CSSFunctionDescriptors
    7. CSSGroupingRule
    8. CSSImportRule
    9. CSSKeyframeRule
    10. CSSKeyframesRule
    11. CSSLayerBlockRule
    12. CSSLayerStatementRule
    13. CSSMediaRule
    14. CSSNamespaceRule
    15. CSSPageDescriptors
    16. CSSPageRule
    17. CSSPropertyRule
    18. CSSRule
    19. CSSRuleList
    20. CSSStartingStyleRule
    21. CSSStyleDeclaration
    22. CSSStyleRule
    23. CSSStyleSheet
    24. CSSSupportsRule
    25. CaretPosition
    26. MediaList
    27. MediaQueryList
    28. Screen
    29. StyleSheet
    30. StyleSheetList
  7. Guides
    1. CSS Declaration
    2. CSS Declaration Block
    3. Determining the dimensions of elements
    4. Managing screen orientation
    5. Using dynamic styling information

In this article

  • Value
  • Examples
  • Specifications
  • Browser compatibility
  • See also

CSSFunctionRule: returnType property

The returnType property of the CSSFunctionRule interface returns a string representing the custom function's return type.

Value

A string.

If no return type is specified in the associated @function at-rule, returnType returns *.

Examples

See the main CSSFunctionRule reference page for an example.

Specifications

Specification
CSS Functions and Mixins Module
# dom-cssfunctionrule-returntype

Browser compatibility

See also

  • @function

Help improve MDN

Learn how to contribute.

This page was last modified on Jan 1, 1970 by MDN contributors.

View this page on GitHub • Report a problem with this content
MDN logo

Your blueprint for a better internet.

  • MDN on Bluesky
  • MDN on Mastodon
  • MDN on X (formerly Twitter)
  • MDN on GitHub
  • MDN Blog RSS Feed

MDN

  • About
  • Blog
  • Careers
  • Advertise with us

Support

  • Report an issue

Our communities

  • MDN Community
  • MDN Forum
  • MDN Chat

Developers

  • Web Technologies
  • Learn Web Development
  • Hacks Blog
  • Website Privacy Notice
  • Cookies
  • Legal
  • Community Participation Guidelines

Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2025 by individual mozilla.org contributors. Content available under a Creative Commons license.