cast


function cast<To>(x:NumberLike) -> NumberLike

Cast.

  • To Element type Real, Integer or Boolean.

  • x Argument.

Returns a copy of x with element type converted to To.