package llama_core

  1. Overview
  2. Docs
type 'a signal := 'a t
type t

A boolean signal which is usually false but becomes true while a certain condition is satisfied (e.g. a key is held down)

val to_signal : t -> bool signal
val of_signal : bool signal -> t
val to_trigger : t -> Trigger.t
val sample : t -> Ctx.t -> bool
val debug_print_sample_index_on_true : t -> t
OCaml

Innovation. Community. Security.