&& !promptObject.equals(UniqueTag.NULL_VALUE)) {
Object result;
if (promptObject instanceof Function) {
result = scriptExecutor.execute(new CompilableSource(ShellSettings.PROMPT_MESSAGE + "()", 1));
} else {
result = promptObject;
}
return javaToString(unwrap(result));