Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
function isEaCProcessor
import { isEaCProcessor } from "https://deno.land/x/fathym_everything_as_code@v0.1.74/src/modules/applications/EaCProcessor.ts";

Type Guard: Checks if the given object is an EaCProcessor.

Type Parameters

optional
TType extends string | undefined = string

Parameters

type: TType

The processor type.

proc: unknown

The processor to check.

Returns

proc is EaCProcessor

true if the given processor is of the specified type, false otherwise.