ScriptAny.toValue

Similar to checkValue except if the type is invalid and doesn't match the template type, a sane default value such as 0 or null is returned instead of throwing an exception.

struct ScriptAny
const
T
toValue
(
T
)
()

Meta