Export function to validate if a value is a fifo pipes path
- License:
- Source:
Example
import { isFIFOPath } from 'itee-validators'
if( isFIFOPath( value ) ) {
//...
} else {
//...
}
Requires
Methods
-
<static> isFIFOPath(path)
-
Check if given path is a fifo path
Parameters:
Name Type Description pathstring | Buffer | URL The data to check against the fifo path type Returns:
true if path is a fifo path, false otherwise- Type
- boolean
-
<static> isNotFIFOPath(path)
-
Check if given path is not a fifo path
Parameters:
Name Type Description pathstring | Buffer | URL The data to check against the fifo path type Returns:
true if path is not a fifo path, false otherwise- Type
- boolean