All Manuals > LispWorks® User Guide and Reference Manual > 36 The EXTERNAL-FORMAT Package

valid-external-format-p Function

Summary

Tests whether an external format spec is valid.

Package

external-format

Signature

valid-external-format-p ef-spec &optional env => result

Arguments
ef-spec
An external format spec.
env
An environment across which the spec should apply.
Values
result
A boolean.
Description

The function valid-external-format-p tests whether the external format spec ef-spec is valid (in the environment env).

result is t if ef-spec is a valid spec, and nil otherwise.

Examples
(valid-external-format-p '(:Unicode :eol-style :lf))
See also

26.6 External Formats to translate Lisp characters from/to external encodings


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:34