Skip to Content
  • Website
Codsen
  • Home
  • Open Source
  • Articles
  • About

backOpen Source→util-array-object-or-both→Examples

Table of Contents

  • Quick Take
  • Normalise the accepted array aliases
  • Customise the thrown error's context
  • Normalise aliases that allow either arrays or objects
  • Case and surrounding whitespace are normalised
  • Normalise the accepted object aliases
↑ back to top

Quick Take

↑ back to top

Normalise the accepted array aliases

↑ back to top

Customise the thrown error's context

↑ back to top

Normalise aliases that allow either arrays or objects

↑ back to top

Case and surrounding whitespace are normalised

↑ back to top

Normalise the accepted object aliases

↑ back to top
back 

Copyright

All rights reserved © Roy Revelt 2026
All our open source packages are under MIT licenceopens in a new tab

Activities

🐛 See a bug? Raise an issueopens in a new tab
💘 Check out the Indiewebopens in a new tab and Libera manifestoopens in a new tab