UNPKG

@onlabsorg/swan-js

Version:

A simple yet powerful expression language written in JavaScript

14 lines (9 loc) 520 B
debug module ============================================================================ The debug module provides functions for debugging swan code. `debug.log: Term t -> Text id` ------------------------------------------------------------------------ The log function writes the passed item to the javascript console. `debug.inspect: Term t -> Namespace info` ------------------------------------------------------------------------ Returns an object containing detailed information about the passed term.