alias for get_argval

    Example:
        >>> # ENABLE_DOCTEST
        >>> import utool as ut
        >>> import sys
        >>> argv = ['--aids=[1,2,3]']
        >>> value = ut.argval('--aids', default=[1, 2], argv=argv)
        >>> assert isinstance(value, list)
        >>> value2 = ut.argval('--aids', smartcast=False, argv=argv)
        >>> assert isinstance(value2, str)
        >>> value2 = ut.argval('--aids', smartcast=True, argv=argv)
        >>> assert isinstance(value2, list)

def argval(key, default=None, type=None, smartcast=True, return_exists=False,
           argv=None):
    """
    alias for get_argval

    Example:
        >>> # ENABLE_DOCTEST
        >>> import utool as ut
        >>> import sys
        >>> argv = ['--aids=[1,2,3]']
        >>> value = ut.argval('--aids', default=[1, 2], argv=argv)
        >>> assert isinstance(value, list)
        >>> value2 = ut.argval('--aids', smartcast=False, argv=argv)
        >>> assert isinstance(value2, str)
        >>> value2 = ut.argval('--aids', smartcast=True, argv=argv)
        >>> assert isinstance(value2, list)
    """
    defaultable_types = (tuple, list, int, float)
    if type is None and isinstance(default, defaultable_types):
        type = builtins.type(default)
    return get_argval(key, type_=type, default=default,
                      return_was_specified=return_exists, smartcast=smartcast,
                      argv=argv)