{ "source": "doc/api/utils.markdown", "modules": [ { "textRaw": "Utils", "name": "utils", "desc": "
Wrapper around pretty-print with extra tools for luvit\n\n
\nlocal utils = require('utils')
\n\n
Everything in pretty-print is available under the utils namespace as well. \nAdditionally utils has the following available functions\n\n
\n", "methods": [ { "textRaw": "utils.noop(err)", "type": "method", "name": "noop", "desc": "Used heavily within luvit to wrap luv methods and expose them.\n
\n", "signatures": [ { "params": [ { "name": "c" }, { "name": "fn" }, { "name": "..." } ] }, { "params": [ { "name": "err" } ] } ] }, { "textRaw": "utils.adapt(c, fn, ...)", "type": "method", "name": "adapt", "desc": "Used heavily within luvit to wrap luv methods and expose them.\n
\n", "signatures": [ { "params": [ { "name": "c" }, { "name": "fn" }, { "name": "..." } ] } ] } ], "type": "module", "displayName": "Utils" } ] }