StructFind

Finds and retrieves a top-level key from a string in a struct

Method Signature

StructFind(struct=[structloose], key=[string], defaultValue=[any])

Arguments

ArgumentTypeRequiredDescriptionDefault

struct

struct

true

The struct object

key

string

true

The key to search

defaultValue

any

false

An optional value to be returned if the struct does not contain the key

Examples

Last updated

Logo

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