Interface Value

All Known Subinterfaces:
Function<T>, ObjectValue, Scope
All Known Implementing Classes:
ArrayValue, JavaFunction, JavaObjectBinding, JavaValue, MochaMath, MutableObjectBinding, NumberValue, StringValue

@NonExtendable public interface Value
  • Method Details

    • of

      @NotNull static @NotNull Value of(@Nullable @Nullable Object any)
    • of

      @NotNull static @NotNull Value of(boolean bool)
    • of

      @NotNull static @NotNull Value of(double _double)
    • of

      @NotNull static @NotNull Value of(@Nullable @Nullable String string)
    • nil

      @NotNull static @NotNull Value nil()
    • getAsNumber

      default double getAsNumber()
    • getAsBoolean

      default boolean getAsBoolean()
    • isString

      default boolean isString()
    • getAsString

      @NotNull default @NotNull String getAsString()