| 956 | |
| 957 | template <typename T> |
| 958 | inline T Value::As() const { |
| 959 | #ifdef NODE_ADDON_API_ENABLE_TYPE_CHECK_ON_AS |
| 960 | T::CheckCast(_env, _value); |
| 961 | #endif |
| 962 | return T(_env, _value); |
| 963 | } |
| 964 | |
| 965 | template <typename T> |
| 966 | inline T Value::UnsafeAs() const { |
nothing calls this directly
no outgoing calls
no test coverage detected