@use 'is-relative-length' as *;
@use 'is-absolute-length' as *;

/// Checks if a value is a length.
///
/// @param {*} $value - A value to be checked.
///
/// @return {Bool} True if $value is a length, false if it is not.
///
/// @access public
/// @group Utilities
/// @require {function} is-relative-length
/// @require {function} is-absolute-length
@function is-length($value) {
  @return is-relative-length($value) or is-absolute-length($value);
}
