Sha256: 73ec6500ee55ff527c8309d28f348ade51b046624c991781c32046e3185b21d6
Contents?: true
Size: 499 Bytes
Versions: 51
Compression:
Stored size: 499 Bytes
Contents
@function bc-util-equal($value-1, $value-2, $recursive: true) { @if length($value-1) != length($value-2) { @return false; } @for $i from 1 through length($value-1) { @if $recursive and type-of( nth($value-1, $i) ) == list and type-of( nth($value-2, $i) ) == list { @if not bc-util-equal(nth($value-1, $i), nth($value-2, $i)) { @return false; } } @else if nth($value-1, $i) != nth($value-2, $i){ @return false; } } @return true; }
Version data entries
51 entries across 51 versions & 2 rubygems