Skip to content

add an option to render functions as their body #61

Open
@scarf005

Description

@scarf005

for example:

const inspectFunction = fn => fn.toString()

inspectFunction(() => 3) 
// () => 3

inspectFunction(function(a, b, c) { return a + b + c })
// "function(a, b, c) { return a + b + c }" 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions