//! Parser utilities.
use Vec;
use crateError;
/// Check if the argument `Option` is `None` and return an error `Error::InvalidArgument` if true
/// Check if the value `Option` is `None` and return an error `Error::InvalidArgument` if true
/// Check if the `Vec` is empty and return an error `Error::InvalidArgument` if true.