CSSFunctionRule: returnType property

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

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

See also