Export function to validate if a value is a symbolic links path
- License:
- Source:
Example
import { isSymbolicLinkPath } from 'itee-validators' if( isSymbolicLinkPath( value ) ) { //... } else { //... }
Requires
Methods
-
<static> isInvalidSymbolicLinkPath(data)
-
Check if given data is an invalid symbolic link path
Parameters:
Name Type Description data
* The data to check against the symbolic link path type Returns:
true if data is an invalid symbolic link path, false otherwise- Type
- boolean
-
<static> isNotSymbolicLinkPath(path)
-
Check if given path is not a symbolic link path
Parameters:
Name Type Description path
string | Buffer | URL The data to check against the symbolic link path type Returns:
true if path is not a symbolic link path, false otherwise- Type
- boolean
-
<static> isSymbolicLinkPath(path)
-
Check if given path is a symbolic link path
Parameters:
Name Type Description path
string | Buffer | URL The data to check against the symbolic link path type Returns:
true if path is a symbolic link path, false otherwise- Type
- boolean
-
<static> isValidSymbolicLinkPath(data)
-
Check if given data is a valid symbolic link path
Parameters:
Name Type Description data
* The data to check against the symbolic link path type Returns:
true if data is a valid symbolic link path, false otherwise- Type
- boolean