dora-util-is-async

Get this.callback() by simple syntax parser

Usage no npm install needed!

<script type="module">
  import doraUtilIsAsync from 'https://cdn.skypack.dev/dora-util-is-async';
</script>

README

dora-util-is-async

Get this.callback() by simple syntax parser

NPM version Build Status Coverage Status Dependency Status

INSTALL

npm install dora-util-is-async

API

  • isAsync(code:String, flag:String = 'callback'):boolean 代码是否包含this.callback()及其变体

License

[MIT License]