@serenity-is/corelib / canLoadScriptData
Function: canLoadScriptData()
canLoadScriptData(
name):boolean
Defined in: src/compat/scriptdata-compat.ts:68
Checks whether a dynamic script with the given name is available in the cache or is a registered script name.
Compat shim for the legacy canLoadScriptData global; delegates to peekScriptData and getScriptDataHash.
Parameters
name
string
Dynamic script name (e.g., "Lookup.Administration.User").
Returns
boolean
true if the script is already cached or its hash is registered; otherwise false.
[DEPRECATED] Prefer peekScriptData / getScriptDataHash checks or getScriptData directly.