/// Construct a CBOR array from a list of expressions.
///
/// Each element is converted into a [`Value`](crate::Value).
///
/// ```
/// # use cbor_core::{array, Value};
/// let v = array![1, "hello", true];
/// assert!(v.data_type().is_array());
/// ```
/// Construct a CBOR map from a list of `key => value` pairs.
///
/// Keys and values are converted into [`Value`](crate::Value).
///
/// ```
/// # use cbor_core::{map, Value};
/// let m = map! { "x" => 1, "y" => 2 };
/// assert!(m.data_type().is_map());
/// ```