class

Cosmo::Intrinsic::Chars::Codepoint

Inherits Cosmo::Intrinsic::IFunction / Cosmo::Callable / Reference / Object

Returns the UTF-16 codepoint of the character

Constructors

new(interpreter : Interpreter, _self : Char, token : Token)
Source

Instance methods

arity

The amount of parameters this function will accept

Source
call(args : Array(ValueType)) : Int32 | Nil

Executes the function body, passing in args

Source