Object Module

object.len(o: object): int

Returns the amount of the objects fields.

object.keys(o: object): iterator<string>

Returns an iterator over all the fields of o.

object.values(o: object<V>): iterator<V>

Returns an iterator over all the values of o.

object.setmeta(o: object<V>, meta: object?): object<V>

Sets the meta-object of o to meta

object.getmeta(o: object): object?

Returns the meta-object of o if it has any.

object.clear(o: object)

Clears o of it's values.