Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Array and Hash enforcement helpers

#294

There are quite a few places where we do checks like that

function boo(hoo) {
  if (!isArray(boo)) boo = [boo];
  if (!isHash(boo)) //... some more stuff
}

Would be nice to pack 'em all in a helper function to shortify and nicefy the things a bit

Reported by MadRabbit · July 29th, 2010 @ 12:25 PM

State: resolved
Milestone: 2.0.0 Release
Assigned to: nobody

Activity

  1. MadRabbit
    MadRabbit
    • State changed from new to resolved

    July 30th, 2010 @ 10:52 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.