pub fn as_float_array(&self) -> Option<&[f32]> {
        match *self {
            Self::FloatArray(ref a) => Some(a),
            _ => None,
        }
    }
/// Returns the value as an array of single-precision floating-points if it is an array of
/// single-precision floating-points.
///
/// # Examples
///
/// ```
/// use noodles_sam::record::data::field::Value;
/// assert_eq!(Value::FloatArray(vec![0.0]).as_float_array(), Some(&[0.0][..]));
/// assert_eq!(Value::Int(0).as_float_array(), None);
/// ```
Returns the value as an array of single-precision floating-points if it is an array of
single-precision floating-points.
Returns the value as an array of single - precision floating - points if it is an array of single - precision floating - points .
pub fn as_float_array(&self) -> Option<&[f32]> {
        match *self {
            Self::FloatArray(ref a) => Some(a),
            _ => None,
        }
    }
pub fn as_float_array ( & self ) -> Option < & [ f32 ] > { match * self { Self :: FloatArray ( ref a ) => Some ( a ) , _ => None , } }
Returns the value as an array of single-precision floating-points if it is an array of
single-precision floating-points.
Returns the value as an array of single - precision floating - points if it is an array of single - precision floating - points .
&self
&self
examples
None