asArray

Convenience function that attempts to extract a property value from a property list (an associative array of strings indexed by strings), split the value with separater, convert each value to a specified type and return as an array.

T[]
asArray
(
T
)
(
string[string] properties
,
string name
,
string sep = ","
)

Parameters

properties
Type: string[string]

The associative array to locate the property in.

name
Type: string

The name the value is currently keyed under.

sep
Type: string

value separater

Meta