StructFilter

Used to filter a struct and return a new struct containing the result

Method Signature

StructFilter(struct=[structloose], callback=[function], parallel=[boolean], maxThreads=[integer])

Arguments

ArgumentTypeRequiredDescriptionDefault

struct

struct

true

The target struct to test

callback

function

true

The function used to filter. The function will be passed 3 arguments: the key, the value, the struct.

parallel

boolean

false

Specifies whether the items can be executed in parallel

false

maxThreads

integer

false

The maximum number of threads to use when parallel = true

Examples

Last updated

Logo

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