test(command, file1, file2) â true or false
[command, file1, file2] â true or false
[command, file1, file2] â true or false
Instance Public methods
Tests if the given command
exists in file1
, or
optionally file2
.
Example:
1 2 3 4 5 | sh[?e, "foo" ] sh[ :e , "foo" ] sh[ "e" , "foo" ] sh[ :exists ?, "foo" ] sh[ "exists?" , "foo" ] |
Please login to continue.