PHP Classes

File: engine/modules/contrib/foundation/source/_vendor/sassy-lists/stylesheets/functions/_to-list.scss

Recommend this page to a friend!
  Classes of Aldo Tripiciano  >  Quanta CMS  >  engine/modules/contrib/foundation/source/_vendor/sassy-lists/stylesheets/functions/_to-list.scss  >  Download  
File: engine/modules/contrib/foundation/source/_vendor/sassy-lists/stylesheets/functions/_to-list.scss
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Quanta CMS
Manage content that works without a database
Author: By
Last change:
Date: 3 years ago
Size: 567 bytes
 

Contents

Class file image Download
///
/// Casts `$value` into a list.
///
/// @ignore Documentation: http://at-import.github.io/SassyLists/documentation/#function-sl-to-list
///
/// @param {*} $value - value to cast to list
/// @param {String} $separator [space] - separator to use
///
/// @example
/// sl-to-list(a b c, comma)
/// // a, b, c
/// 
/// @return {List}
///

@function sl-to-list($value, $separator: list-separator($value)) {
  @return join((), $value, $separator);
}

///
/// @requires sl-to-list
/// @alias sl-to-list
///

@function sl-listify($value) {
  @return sl-to-list($value);
}
For more information send a message to info at phpclasses dot org.