Adding is.base64 and is.hex

I needed these for a project I'm working on.  Hope you find them useful.
You got it.  Committed.  Thanks!

On Mon, Oct 20, 2014 at 5:43 PM, Jordan Harband <notifications@github.com>
wrote:

> In index.js:
>
> > +};
> > +
> > +/**
> > + * Test base64 string.
> > + */
> > +
> > +/**
> > + * is.hex
> > + * Test if `value` is a valid hex encoded string.
> > + *
> > + * @param {Mixed} value value to test
> > + * @return {Boolean} true if 'value' is a hex encoded string, false otherwise
> > + * @api public
> > + */
> > +
> > +is.hex = function (value) {
>
> I think it's fair to interpret "is valid" as the same as "is not invalid"
> - in which case, an empty string should be true. Let's update that, and
> then this should be good to go :-)
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/enricomarino/is/pull/12/files#r19116046>.
>



-- 
*Peter Girard*
*Vice President*
617-447-2424 Direct | 617-447-2400 Main
Applied Geographics, Inc.
24 School Street, Suite 500
Boston, MA 02108
www.AppGeo.com

-- 
This e-mail message and any attachments may contain confidential or legally 
privileged information. If you are not an intended recipient or otherwise 
authorized to receive this message, you should not use, copy, distribute, 
disclose or take any action based on the information contained in this 
e-mail or any attachments. If you have received this message and material 
in error, please advise the sender immediately by reply e-mail and delete 
this message. Thank you on behalf of Applied Geographics, Inc. (AppGeo).