Rebol Programming/info?

= USAGE: = INFO? target

= DESCRIPTION: = Returns information about a file or url.

INFO? is a function value. = ARGUMENTS: =
 * target -- (Type: file url)

= (SPECIAL ATTRIBUTES) =
 * catch

= SOURCE CODE = info?: func [ "Returns information about a file or url." [catch] target [file! url!] ][   throw-on-error [ target: make port! target query target ]    either none? target/status [ none ] [       make object! [           size: target/size date: target/date type: target/status ]   ] ]