mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-17 17:55:42 +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') |