StructNew

Creates a new struct of the specified type.

The available types are:

  • casesensitive

  • default

  • ordered-casesensitive

  • ordered

  • soft

  • sorted

  • weak

Method Signature

StructNew(type=[string], sortType=[string], sortOrder=[string], localeSensitive=[any], callback=[function])

Arguments

ArgumentTypeRequiredDescriptionDefault

type

string

false

The struct type

default

sortType

string

false

An optional sort type to apply to that type

sortOrder

string

false

The sort order applicable to the sortType argument

asc

localeSensitive

any

false

false

callback

function

false

An optional callback to use as the sorting function

Examples

Last updated

Logo

Copyright & Register Trademark by Ortus Solutions, Corp & Ortus Software, LLC