Find command return type

Hi all does find command return anything if the file to be searched is not found? Like if I search from a file in a dir does it return false or null if the file is not found? Please suggests.

Posix-sh, ksh, bash, ...

look value of variable ? after commandline
echo $?
0=ok
<>0 not ok

You can combine the "find" command with the "wc -l" so that the result will > 0 if some files found and return 0 if file not found.

find ./ -name "something" | wc -l

Hope this help.

I have tired something like this, but it doesn't seem to work ==>

F2=$(find "${directory2}" -name "$F")
rc=$?
if [ ${rc} -ne 0 ]
then
print "WARNING: Could not locate file : $F in $directory2"
fi

---------- Post updated at 01:32 PM ---------- Previous update was at 11:03 AM ----------

The following worked!!
Thanks to all for the valueable replies
F2=$(find "$directory2" -name "$F")
echo "$F2 : $F"
if [ "$F2" = "" ]
then
print "No such $F file found"