Documentation ¶ Rendered for js/wasm Index ¶ func ValueOf(x interface{}) (val js.Value, fatal bool) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ValueOf ¶ func ValueOf(x interface{}) (val js.Value, fatal bool) ValueOf returns x as a JavaScript value like a js.ValueOf but without panic returns fatal = true if js.ValueOf make panic. If x is not one of the expected types. Types ¶ This section is empty. Source Files ¶ View all Source files valueof.go Click to show internal directories. Click to hide internal directories.