useModelId
Function: useModelId()
useModelId(
object):string
Defined in: packages/core/src/application/hooks.ts:54
Get the model id for an object in the application
Parameters
object
any
instance or class
Returns
string
The model identifier or undefined if not found, e.g. "User" or "Webda/User"