Sass feature-exists() Function
You are Here:
Sass feature-exists() Function
The feature-exists()
function returns whether the current Sass implementation supports $feature.
Note: The $feature must be a string.
Example
SASS TO CSS CONVERTER
//Check your console
@debug feature-exists("at-error"); // true
@debug feature-exists("unrecognized"); // false
Syntax
feature-exists($feature)
Parameter Value
Value | Type | Explanation |
---|---|---|
$feature | Required | Specifies a string. The following are the list of possible values
|
Return Value
Value | Explanation |
---|---|
true | Returns true for any recognized $feature. |
false | Returns false for any unrecognized $feature. |
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.