REBOL 3 Docs Guide Concepts Functions Datatypes Errors
  TOC < Back Next >   Updated: 3-Aug-2010 Edit History  

REBOL 3 Functions: port?

port?  value

Returns TRUE if it is this type.

Arguments:

value [any-type!]

See also:

type?  

Description

Returns FALSE for all other values.

file: open %newfile.txt
print port? file
close file
true
print port? "test"
false


  TOC < Back Next > REBOL.com - WIP Wiki Feedback Admin