Method: Sass::Script::Value::String#type

Defined in:
lib/sass/script/value/string.rb

#typeSymbol (readonly)

Whether this is a CSS string or a CSS identifier. The difference is that strings are written with double-quotes, while identifiers aren't.

Returns:

  • (Symbol)

    :string or :identifier



17
18
19
# File 'lib/sass/script/value/string.rb', line 17

def type
  @type
end