Home > @infiniteobjects/core-library-web > Cast > asPlainObject
Cast the given value as a plain object, You can use Generic types to assert an specific Type
Signature:
static asPlainObject<T = ObjectLike>(obj: unknown): T;
Parameter | Type | Description |
---|---|---|
obj | unknown |
Returns:
T