getId

Source
import { getId } from "@prestojs/util";
getId(item,?fallbackGetId)
Params:
ParameterTypeDescription
*itemany
fallbackGetId
Returns:string|number|{[fieldName: string]: string|number }