isDynamic (value -- isDynamic)value: Current stack value whose forgotten-contents state is tested.isDynamic: Known Cond result that is TRUE when the current stack value is in the forgotten-contents state.isDynamic is the current stack-value forgotten-contents predicate. It tests whether the current stack value is in the forgotten-contents state.
This predicate follows the referenced target for known non-NIL Ref values. It is the same predicate as unknownStable?. Mere lack of compile-time knownness is not enough, so Text, Code, and Meta values still report FALSE. This includes callable non-NIL Code values and known NIL Code values.
In-place value whose concrete contents have been forgotten, for example by dynamic, reports TRUE.In-place value reports FALSE.NIL Ref value reports TRUE only when its referenced target is in that same forgotten-contents state.NIL Ref values and unknown Ref values report FALSE.FALSE.FALSE.FALSE.{} 0 {} [
value: 7;
codeLocal: {} () {} codeRef;
unknownValue: 0 dynamic;
unknownText: 0 ("") dynamic @;
[] !codeLocal
"-- same as unknownStable? for In-place values --" printCompilerMessage
7 known? printStack _:;
7 isDynamic printStack _:;
7 unknownStable? printStack _:;
unknownValue known? printStack _:;
unknownValue isDynamic printStack _:;
unknownValue unknownStable? printStack _:;
"-- same as unknownStable? for references --" printCompilerMessage
@value isDynamic printStack _:;
@value unknownStable? printStack _:;
@value dynamic isDynamic printStack _:;
@value dynamic unknownStable? printStack _:;
0nx value addressToReference isDynamic printStack _:;
0nx value addressToReference unknownStable? printStack _:;
"-- same as unknownStable? for text, code, meta --" printCompilerMessage
"hi" isDynamic printStack _:;
"hi" unknownStable? printStack _:;
unknownText isDynamic printStack _:;
unknownText unknownStable? printStack _:;
{} () {} codeRef isDynamic printStack _:;
{} () {} codeRef unknownStable? printStack _:;
@codeLocal isDynamic printStack _:;
@codeLocal unknownStable? printStack _:;
() isDynamic printStack _:;
() unknownStable? printStack _:;
0
] "main" exportFunction
-- same as unknownStable? for In-place values --
TRUE
FALSE
FALSE
FALSE
TRUE
TRUE
-- same as unknownStable? for references --
FALSE
FALSE
TRUE
TRUE
FALSE
FALSE
-- same as unknownStable? for text, code, meta --
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
isDirty builtin (value -- isDirty) Current stack-value instability predicate; exact opposite of stable?.dynamic builtin (value -- dynamicValue) Current stack-value forgotten-contents conversion.isStatic builtin (value -- isKnown) Historical name of the same current stack-value knownness predicate.known? builtin (value -- isKnown) Preferred public name of the same current stack-value knownness predicate.stable? builtin (value -- isStable) Current stack-value stability predicate; exact opposite of isDirty.unknownStable? builtin (value -- isUnknownStable) Same current stack-value forgotten-contents predicate under a different builtin name.