Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 1.38 KB

get-list.md

File metadata and controls

23 lines (15 loc) · 1.38 KB

subkt / myaa.subkt.tasks / Subs / getList

getList

fun getList(propertyName: String, entry: String= "", context:AbstractContext? = null): Provider<List<String>> (source)

Searches for the given property in the Subs object's SubProperties instance, and evaluates its value using evaluate.

This function is run outside of a task context, using only release for lookup unless an entry is manually specified.

// property file: TV.*.value=hello{1..3}|test|$episode
getList("value")
// Output: [hello1, hello2, hello3, test, $episode]

Parameters

propertyName - The property to find.

entry - Optional manually specified entry for property lookup.