For the complete documentation index, see llms.txt. This page is also available as Markdown.

number.getProto

Description

getProto returns the internal prototype object for the current number instance. This is mostly useful for reflection or when you need to inspect what methods / properties exist on the prototype at runtime.

Parameters

getProto takes no parameters.

Usage On Numbers

proto @= 123.getProto()
log proto
// { "abs": function, "acos": function, ... }

Last updated