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

Does item tpl inherit from the requested base class

Parameters

itemTpl: string

item to check base classes of

baseClasses: string[]

base class to check for

Returns

boolean

true if item inherits from base class passed in