Sass Introspection Functions

You are Here:

Sass Introspection Functions

The following are the list of inbuilt introspection functions available in Sass language.

call()Invokes $function with $args and returns the result.
content-exists()Returns whether the current mixin was passed a @content block.
feature-exists()Returns whether the current Sass implementation supports $feature.
function-exists()Returns whether a function named $name is defined, either as a built-in function or a user-defined function.
get-function()Returns the function named $name. This can access both built-in and user-defined functions.
global-variable-exists()Returns whether a global variable named $name (without the $) exists.
inspect()Returns a string representation of $value.
mixin-exists()Returns whether a mixin named $name exists.
type-of()Returns the type of $value.
variable-exists()Returns whether a variable named $name (without the $) exists in the current scope.


Hi Developers, we almost covered 99.1% of Sass Tutorials with examples for quick and easy learning.

We are working to cover every Single Concept in Sass.

Please do google search for:

Join Our Channel

Join our telegram channel to get an instant update on depreciation and new features on HTML, CSS, JavaScript, jQuery, Node.js, PHP and Python.

This channel is primarily useful for Full Stack Web Developer.

Share this Page

Meet the Author