Skip to content

NullValue

Official

Value which represents null. obsidian#NullValue is a singleton and obsidian#NullValue.value should be used instead of calling the constructor.

Import:

import { NullValue } from 'obsidian';

Signature:

export class NullValue extends Value

Extends: Value

Constructor

new NullValue()

Constructor.

To get the constructor instance, use getNullValueConstructor from obsidian-typings/implementations.

Properties

PropertyTypeDescription
iconstringThe lucide icon name representing this value's type.
(Inherited from Value)
typestring
(Inherited from Value)
valueNullValue

Methods

MethodReturnsDescription
equals(a, b)boolean
(Inherited from Value)
equals(other)booleanReturns a boolean indicating whether this Value is equal to the provided Value.
(Inherited from Value)
isTruthy()booleanReturns a boolean indicating whether this obsidian#NullValue is truthy.
keys()string[]Returns the property keys accessible on this value via Value.objectAccess.
(Inherited from Value)
looseEquals(a, b)boolean
(Inherited from Value)
looseEquals(other)booleanReturns a boolean indicating whether this Value is loosely equal to the provided Value.
(Inherited from Value)
objectAccess(key)null | ValueAccesses a named sub-property of this value.
(Inherited from Value)
renderTo(el, ctx)voidRender this value into the provided HTMLElement.
(Inherited from Value)
toString()stringGet the string representation of this obsidian#NullValue.

Links to this page: