getId

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

Arguments:

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