getId

Source
import { getId } from "@prestojs/util";
getId(item,?fallbackGetId)
Source

Arguments:

ArgumentTypeDescription
*itemany
fallbackGetId
Returns:string|number|{[fieldName: string]: string|number }