@serenity-is/corelib / getRegisteredScriptNames
Function: getRegisteredScriptNames()
getRegisteredScriptNames(
prefix?):string[]
Defined in: src/base/scriptdata.ts:53
Gets the names of the dynamic scripts known to be registered server-side, e.g. Lookup.Northwind.Customer, which are the keys of the RegisteredScripts script element, along with the ones registered by setRegisteredScripts.
Parameters
prefix?
string
Only the names starting with it are returned, e.g. "Lookup." for the lookups.
Returns
string[]
The names, in the order they were registered.