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

Check if the tpl / template Id provided is a descendent of the baseclass

Parameters

tpl: string

the item template id to check

baseClassTpl: string

the baseclass to check for

Returns

boolean

is the tpl a descendent?