(file: ArrayBuffer)
| 14 | export const hashtagRegExp = /(?:\s|^)#[A-Za-z0-9\-._]+(?:\s|$)/gim; |
| 15 | |
| 16 | export const encodeArrayBuffer = (file: ArrayBuffer): number[] => |
| 17 | Array.from(new Uint8Array(file)); |
| 18 | |
| 19 | export function unwrap<T>(val: Optional<T>): T | null { |
| 20 | if (val[0] === undefined) { |
no outgoing calls
no test coverage detected