Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
function isEaCProcessor
import { isEaCProcessor } from "https://deno.land/x/fathym_everything_as_code@v0.1.71/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.