Module: sources/file-system/fifo-pipes/isValidFIFOPath

Export function to validate if a value is a valid fifo pipes path
Author:
License:
Source:

Example

import { isValidFIFOPath } from 'itee-validators'

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

Requires

Methods


<static> isInvalidFIFOPath(data)

Check if given data is an invalid fifo path
Parameters:
Name Type Description
data * The data to check against the fifo path type
Source:
Returns:
true if data is an invalid fifo path, false otherwise
Type
boolean

<static> isValidFIFOPath(data)

Check if given data is a valid fifo path
Parameters:
Name Type Description
data * The data to check against the fifo path type
Source:
Returns:
true if data is a valid fifo path, false otherwise
Type
boolean