method EntityManager.prototype.hasIdRe-exportimport { EntityManager } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/index.ts"; hasId(entity: any): booleanChecks if entity has an id. hasId(target: Function | string, entity: any): booleanChecks if entity of given schema name has an id. Checks if entity has an id. Parametersentity: anyReturnsbooleanChecks if entity of given schema name has an id. Parameterstarget: Function | stringentity: anyReturnsboolean