Export function to validate if a value is a valid fifo pipes path
- 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 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 Returns:
true if data is a valid fifo path, false otherwise- Type
- boolean