BoxLang 🚀 A New JVM Dynamic Language Learn More...

normalizeToArray

v1.0.3 Modules

normalizer

Normalize variable values to lists and arrays

This module exposes a simple function that can be injected using WireBox.

wirebox.getInstance( "normalizeToArray" );

normalizeToArray can take a simple value, a list, a query, a struct, an array, or even variadic parameters and return an array of those values.

$ box install normalizeToArray

No collaborators yet.
     
  • {{ getFullDate("2017-03-22T15:11:16Z") }}
  • {{ getFullDate("2022-05-23T15:54:18Z") }}
  • 2,282
  • 21,025