Background for Skyrim SE
Member of the JValue script
boolfunctionhasPath(intobject, stringpath)NativeGlobal

Description

Documentation Comment

Path resolving:

Returns true, if it's possible to resolve given path, i.e. if it's possible to retrieve the value at the path.
For ex. JValue.hasPath(container, ".player.health") will test whether @container structure close to this one - {'player': {'health': health_value}}


Caveats


Parameters

intobject

stringpath


Examples

Auto-Generated Example

int myInt__object
string myString__path

bool returnedValue = JValue.hasPath(myInt__object, myString__path)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.