Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

function-source

yields30.4kMIT0.1.0

get a function's source

source, function

readme

function-source

get a function source.

Installation

Install with component(1):

$ component install yields/function-source

API

source(fn)

fn may be a Function or a String.

License

MIT