/// Return the first non-null value, given a variable list of parameters.
///
/// @group helpers_logic
///
/// @example scss - Usage
///   k-one-of(null, 1, 'x')
///   // 1
@function k-one-of($values...) {
  @each $value in $values {
    @if $value != null {
      @return $value;
    }
  }

  @return null;
}
