Returns the file extension of a path.
Import:
import { extname } from 'obsidian-dev-utils/path';
Signature:
const extname: (this: void, path: string) => string
Type: (this: void, path: string) => string