Skip to main content
The Deno 2 Release Candidate is here
Learn more
method ItemHelper.prototype.isOfBaseclasses
import { ItemHelper } from "https://deno.land/x/sptaki@1.2.0/helpers/ItemHelper.d.ts";

Check if item has any of the supplied base classes

Parameters

tpl: string

Item to check base classes of

baseClassTpls: string[]

base classes to check for

Returns

boolean

true if any supplied base classes match