Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 1.42 KB

File metadata and controls

27 lines (17 loc) · 1.42 KB

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.