Improvements to the media editor
This commit is contained in:
parent
e8eb7638c4
commit
d0296ececa
61 changed files with 1124 additions and 969 deletions
9
ts/util/isAciString.ts
Normal file
9
ts/util/isAciString.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
// Copyright 2023 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import type { AciString } from '../types/ServiceId';
|
||||
import { isValidUuid } from './isValidUuid';
|
||||
|
||||
export function isAciString(value?: string | null): value is AciString {
|
||||
return isValidUuid(value);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue