Sass inspect() Function
You are Here:
Sass inspect() Function
The inspect()
function returns a string representation of $value.
Example
SASS TO CSS CONVERTER
//Check your console
@debug inspect(null); // "null"
@debug inspect(10px 20px 30px); // "10px 20px 30px"
@debug inspect('sans-serif'); // "'sans-serif'"
@debug inspect(('width': 200px)); // "('width': 200px)"
Syntax
inspect($value)
Parameter Value
Value | Type | Explanation |
---|---|---|
$value | Required | Specifies any value. |
Return Value
Value | Explanation |
---|---|
string | Returns a string representation of $value. |
Reminder
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.