| class |
methods |
| Value |
|
| Covered |
Value() |
| Covered |
Value(napi_env env, napi_value value) |
| Covered |
static Value From(napi_env env, const T&value) |
| Covered |
operator napi_value |
| Covered |
bool operator ==(const Value& other) const |
| Covered |
bool operator != (const Value& other) const |
| Covered |
bool StrictEquals(const Value& other) const |
| Covered |
Napi::Env Value::Env() const |
| Covered |
bool IsEmpty() |
| Covered(see external.cc) |
napi_valuetype Type() const |
| Covered |
bool IsUndefined() const |
| Covered |
bool IsNull() |
| Covered |
bool IsBoolean() const |
| Covered |
bool IsNumber() const |
| Covered (See bigint.js) |
bool IsBigInt() const |
| Covered ( See date.cc) |
bool IsDate() const |
| Covered |
bool IsString() const |
| Covered |
bool IsSymbol() const |
| Covered |
bool IsArray() const |
| Covered |
bool IsArrayBuffer() const |
| Covered |
bool IsTypedArray() const |
| Covered |
bool IsObject() const |
| Covered |
bool IsFunction() const |
| Covered |
bool IsPromise() const |
| Covered |
bool IsDataView() const |
| Covered (see buffer.cc) |
bool IsBuffer() const |
| Covered |
bool IsExternal() const |
| Used by many function test suites, (i.e asynccontext.cc) |
templateT As() const |
| Covered |
MaybeOrValue ToBoolean() |
| Covered |
MaybeOrValue ToNumber() |
| Covered |
MaybeOrValue ToString() |
| Covered |
MaybeOrValue ToObject() |
Unless otherwise specified, the methods have been covered by tests written in value.cc
Unless otherwise specified, the methods have been covered by tests written in value.cc