Rebol Programming/get-face

USAGE:

edit
GET-FACE face 

DESCRIPTION:

edit

Returns the primary value of a face.

GET-FACE is a function value.

ARGUMENTS

edit
  • face -- (Type: any)

SOURCE CODE

edit
get-face: func [
    "Returns the primary value of a face." 
    face 
    /local access
][
    if all [
        access: get in face 'access 
        in access 'get-face*
    ] [
        access/get-face* face
    ]
]