call-function

Invoke function if is it callable and return result otherwise undefined

Usage no npm install needed!

<script type="module">
  import callFunction from 'https://cdn.skypack.dev/call-function';
</script>

README

call-fn

Invoke function if is it callable and return result otherwise undefined