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

Add a blank upd object to passed in item if it does not exist already

Parameters

item: Item

item to add upd to

optional
warningMessageWhenMissing: string

text to write to log when upd object was not found

Returns

boolean

True when upd object was added