Mimics
Inactive cells
Active cells
Specs
Inactive cells (details)
all = [:integer, :decimal, :boolean, :nil, :symbol]
coerce_boolean? = fn(...)
coerce_decimal? = fn(...)
coerce_integer? = fn(...)
coerce_nil? = fn(...)
coerce_symbol? = fn(...)
kind = "Origin Coerce"
Active cells (details)
coerce_boolean(t)

nil

method(t, 
  t ==("true"))
coerce_decimal(t)

nil

method(t, 
  t toDecimal)
coerce_integer(t)

nil

method(t, 
  n = Message fromText(if(#/^[+-]/ ===(t), t [](1 ..(-(1))), t)) evaluateOn(self) 
  if(#/^-/ ===(t), n negation, n))
coerce_nil(t)

nil

method(t, 
  nil)
coerce_symbol(t)

nil

method(t, 
  :(t [](1 ..(-(1)))))