Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The getParameters() method of the CSSFunctionRule interface returns an array of objects representing the custom function's parameters.
getParameters()None.
An array of objects containing the following properties:
nameA string representing the name of the function parameter.
typeA string representing the data type of the parameter, or * if no data type was specified.
defaultValueA string representing the default value of the parameter, or null if no default value was specified.
If no parameters were specified in the associated @function at-rule, an empty array is returned.
See the main CSSFunctionRule reference page for an example.