stylesheets/flint/functions/lib/_get-substring.scss in flint-gs-1.3.5 vs stylesheets/flint/functions/lib/_get-substring.scss in flint-gs-1.3.6

- old
+ new

@@ -1,12 +1,12 @@ // Gets substring from string // ------------------------------------------------------------------------------- // @dependence `string-to-list()` // ------------------------------------------------------------------------------- -// @param $full-string [String] : string that contains substring -// @param $depth [Integer | "last | "first"] : depth of substring +// @param $full-string [string] : string that contains substring +// @param $depth [integer | string] : depth of substring // ------------------------------------------------------------------------------- -// @return [String] +// @return [string] @function get-substring($full-string, $depth) { @if is-string($full-string) { $get-substring: string-to-list($full-string); \ No newline at end of file