VFSPathExtensions.HasAnyExtension(thisVFSPath,string[]).md
January 20, 2026 ยท View on GitHub
Atypical.VirtualFileSystem.Core
Atypical.VirtualFileSystem.Core.Extensions.VFSPathExtensions
VFSPathExtensions.HasAnyExtension(this VFSPath, string[]) Method
Checks if the path has any of the specified extensions.
public static bool HasAnyExtension(this Atypical.VirtualFileSystem.Core.VFSPath path, params string[] extensions);
Parameters
path VFSPath
The VFS path.
extensions System.String[]
The extensions to check (with or without leading dots).
Returns
System.Boolean
True if the path has any of the specified extensions.