$ type test
test is a shell builtin function
if [[ ... ]]; =====> if test ...;
if [[ "true" ]]; then
echo "true"
fi
if test "true"; then
echo "true"
fi
$ type test
test is a shell builtin function
if [[ ... ]]; =====> if test ...;
if [[ "true" ]]; then
echo "true"
fi
if test "true"; then
echo "true"
fi