core.equal0.000001
Checks two values for equality.
Arguments
no defined arguments
Return Value
true
if the input is equal to the given value, otherwise false
.something went wrong :(
Checking two values for equality
Setup
authorization=PROCAUTH
require "proc"
client = Proc.connect("PROCAUTH")
const Proc = require("@proc.dev/client");
const client = Proc.connect("PROCAUTH");
client.core.equal.call(
"hello", value: "hello"
)
client.core.equal.call(
"hello", {value: "hello"}
);
curl "https://proc.run/core/equal?value=hello" --silent \
--header "authorization: bearer $authorization" \
--header "content-type: text/plain" \
--data "hello"
true
Stuck? Want to chat about an idea? Join the community on Discord.