Skip to content

BooleanValue

Import:

import { BooleanValue } from 'obsidian-test-mocks/obsidian';

Signature:

export class BooleanValue extends PrimitiveValue<boolean>

Extends: PrimitiveValue<boolean>

Constructor

new BooleanValue(value?: boolean)

Properties

PropertyTypeDescription
value__boolean
(Inherited from PrimitiveValue)

Methods

MethodReturnsDescription
asOriginalType3__()PrimitiveValueOriginal<boolean>
(Inherited from PrimitiveValue)
asOriginalType4__()BooleanValueOriginal
constructor3__(_value)void
(Inherited from PrimitiveValue)
constructor4__(_value?)void
isTruthy()boolean
(Inherited from PrimitiveValue)
toString()string
(Inherited from PrimitiveValue)
static create__(value?)BooleanValue
static fromOriginalType3__(value)PrimitiveValue<boolean>
(Inherited from PrimitiveValue)
static fromOriginalType4__(value)BooleanValue