Link Search Menu Expand Document

//reikai-core/io.github.kerelape.reikai.logic

Package io.github.kerelape.reikai.logic

Types

Name Summary
Every [JVM]
class Every(entities: Entity) : EntityWrap
Every. True if all elements is True.
False [JVM]
object False : EntityWrap
False object that always dataizes as 0.
Fork [JVM]
class Fork(condition: Entity, value: Entity, fallback: Entity) : EntityWrap
Fork. Selects value or fallback depending on condition.
Identity [JVM]
class Identity(first: Entity, second: Entity) : EntityWrap
Equality of entities.
Optional [JVM]
class Optional(value: Entity, condition: Entity) : EntityWrap
Optional entity. Dataizes to the value or Empty depending on the condition. Be aware that the first argument is the value, and the second one is the condition.
Some [JVM]
class Some(entities: Entity) : EntityWrap
Some. True if any of the elements is True.
True [JVM]
object True : EntityWrap
Truth object that always dataizes as 1.

Functions

Name Summary
toBoolean [JVM]
suspend fun Entity.toBoolean(): Boolean
Convert Entity to Boolean.

Properties

Name Summary
asEntity [JVM]
val Boolean.asEntity: Entity
Entity representation of the Boolean.