Skip to main content
Module

x/unknownutil/is.ts>isSyncFunction

🦕 A lightweight utility pack for handling unknown type
Go to Latest
function isSyncFunction
import { isSyncFunction } from "https://deno.land/x/unknownutil@v3.13.0/is.ts";

Return true if the type of x is function (non async function).

Parameters

x: unknown

Returns

x is (...args: unknown[]) => unknown