Page
Library
Module
Module type
Parameter
Class
Class type
Source
OjsSourceBinding with JS values.
The universal type representing arbitrary JS values.
Wrap an OCaml function of known arity (>=1) into a JS function. Extra arguments are discarded and missing argument are filled with 'undefined'.
Get the property from an object (only works if the property key is a plain ascii string).
Set an object property (only works if the property key is a plain ascii string).
Delete an object property (only works if the property key is a plain ascii string).
Call a method on an object (binding 'this' to the object).
Variant of Ojs.call where the arguments are passed as an already built JS array.
Variant of Ojs.apply where the arguments are passed as an already built JS array.
Variant of Ojs.new_obj where the arguments are passed as an already built JS array.
Returns: "object Array" "object Object" "object Number" "object String" "object Null" "object Boolean"