(path: string)
| 34 | } |
| 35 | |
| 36 | export function splitFileAndPostfix(path: string): { |
| 37 | file: string |
| 38 | postfix: string |
| 39 | } { |
| 40 | const file = cleanUrl(path) |
| 41 | return { file, postfix: path.slice(file.length) } |
| 42 | } |
| 43 | |
| 44 | export function isPrimitive(value: unknown): boolean { |
| 45 | return !value || (typeof value !== class="st">'object' && typeof value !== class="st">'function') |
no test coverage detected