Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
class ModTypeCheck
Re-export
import { ModTypeCheck } from "https://deno.land/x/sptaki@1.2.0/loaders/mod.ts";

Methods

isPostAkiLoad(mod: any): mod is IPostAkiLoadMod

Use defined safe guard to check if the mod is a IPostAkiLoadMod

Use defined safe guard to check if the mod is a IPostAkiLoadModAsync

Use defined safe guard to check if the mod is a IPostDBLoadMod

Use defined safe guard to check if the mod is a IPostDBLoadModAsync

isPostV3Compatible(mod: any): boolean

Checks for mod to be compatible with 3.X+

isPreAkiLoad(mod: any): mod is IPreAkiLoadMod

Use defined safe guard to check if the mod is a IPreAkiLoadMod

Use defined safe guard to check if the mod is a IPreAkiLoadModAsync