package links
type elt = Phrase.t
type t = elt option
val in_expr : string list -> Phrase.Value.t list list -> t
Construct an in expression phrase option
val eval : t -> (string -> Phrase.Value.t) -> Phrase.Value.t
Calculate the vale of an expression given a lookup function for variables. Defaults to true if the phrase is None
.
val get_vars : t -> Alias.Set.t
Get a list of variables in the expression.
val partial_eval : t -> lookup:(string -> Phrase.Value.t option) -> t
Tries to execute and simplify as much of the equation as possible using the given variables.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>