Module: sources/file-system/symbolic-links/isSocketPath

Export function to validate if a value is a symbolic links path
Author:
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
Source:
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
Source:
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
Source:
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
Source:
Returns:
true if data is a valid symbolic link path, false otherwise
Type
boolean

Module: sources/file-system/symbolic-links/isSocketPath

Export function to validate if a value is a valid symbolic links path
Author:
License:
Source:

Example

import { isValidSymbolicLinkPath } from 'itee-validators'

if( isValidSymbolicLinkPath( value ) ) {
    //...
} else {
    //...
}

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
Source:
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
Source:
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
Source:
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
Source:
Returns:
true if data is a valid symbolic link path, false otherwise
Type
boolean