REBOL Document

Port? - Function Summary


Summary:

Returns TRUE for port values.

Usage:

port? value

Arguments:

value - The value argument. (must be: any-type)

Description:

Returns FALSE for all other values.


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


    print port? "test"
    false

Related:

type? - Returns a value's datatype.


<Back | Index | Next>

Copyright 2004 REBOL Technologies