mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-18 10:15:41 +00:00
3 lines
240 B
TypeScript
3 lines
240 B
TypeScript
|
|
export const isDomainLocked = (status: string[], type: 'client' | 'server'): boolean =>
|
||
|
|
(status.includes(type + ' update prohibited') && status.includes(type + ' delete prohibited')) ||
|
||
|
|
status.includes(type + ' transfer prohibited')
|