- hasKeys<T, K>(object, keys, message?): void
Type Parameters
- T extends Record<string, any>
- K extends string | number | symbol
Parameters
- object: T
- keys: K | K[]
Optional
message: string
Returns void
- hasKeys<K, T>(object, keys, message?): void
Parameters
- object: T
- keys: K | K[]
Optional
message: string
Returns void
check if object has keys