Rebol Programming/flag-face?

From Wikibooks, open books for an open world
< Rebol Programming
Jump to navigation Jump to search

USAGE:[edit | edit source]

FLAG-FACE? face 'flag 

DESCRIPTION:[edit | edit source]

Checks a flag in a VID face.

FLAG-FACE? is a function value.

ARGUMENTS[edit | edit source]

  • face -- (Type: object)
  • flag -- (Type: any)

SOURCE CODE[edit | edit source]

flag-face?: func [
    "Checks a flag in a VID face." 
    face [object!] 'flag
][all [face/flags find face/flags flag]]